From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 29E8AA0350; Mon, 22 Jun 2020 09:15:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F19FD1D58F; Mon, 22 Jun 2020 09:07:02 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 131061D5C1 for ; Mon, 22 Jun 2020 09:07:00 +0200 (CEST) IronPort-SDR: UhbUF8ITTKIlWvOd9Da6SReqT5HLzvtj1y8kUZJUk5lj/PDtVGAdKv5cp0RNtPQo0On0jcI4wa XZAvx70Pwvwg== X-IronPort-AV: E=McAfee;i="6000,8403,9659"; a="131070835" X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="131070835" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 00:07:00 -0700 IronPort-SDR: e62OoIUmlyzv7MSOb+41Ef65keo7BEkfBradSNQCk8LGlKsSzBfac0ST6pjsbuVvdXTFfF03/m mHdhpDLR7vNw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="384409203" Received: from dpdk.sh.intel.com ([10.239.255.83]) by fmsmga001.fm.intel.com with ESMTP; 22 Jun 2020 00:06:58 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Jeff Guo , Zhao1 Wei , Guinan Sun , Sasha Neftin Date: Mon, 22 Jun 2020 06:46:18 +0000 Message-Id: <20200622064634.70941-55-guinanx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200622064634.70941-1-guinanx.sun@intel.com> References: <20200622064634.70941-1-guinanx.sun@intel.com> Subject: [dpdk-dev] [PATCH 54/70] net/e1000/base: correct PHY power up flow for i225 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" gPHY GPY211A1 specification (i225 PHY) required 300 microseconds delay after a good power up sequence. Signed-off-by: Sasha Neftin Signed-off-by: Guinan Sun --- drivers/net/e1000/base/e1000_phy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/base/e1000_phy.c b/drivers/net/e1000/base/e1000_phy.c index bcb3df2f3..b9d8739ee 100644 --- a/drivers/net/e1000/base/e1000_phy.c +++ b/drivers/net/e1000/base/e1000_phy.c @@ -3528,6 +3528,7 @@ void e1000_power_up_phy_copper(struct e1000_hw *hw) hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); mii_reg &= ~MII_CR_POWER_DOWN; hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); + usec_delay(300); } /** -- 2.17.1