[dpdk-dev] [PATCH 54/70] net/e1000/base: correct PHY power up flow for i225

Guinan Sun guinanx.sun at intel.com
Mon Jun 22 08:46:18 CEST 2020


gPHY GPY211A1 specification (i225 PHY) required 300 microseconds
delay after a good power up sequence.

Signed-off-by: Sasha Neftin <sasha.neftin at intel.com>
Signed-off-by: Guinan Sun <guinanx.sun at intel.com>
---
 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



More information about the dev mailing list