netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net 1/2] igb: Add additional get_phy_id call for i354 devices
@ 2013-09-10 18:57 Jeff Kirsher
  2013-09-10 18:57 ` [net 2/2] igb: Read flow control for i350 from correct EEPROM section Jeff Kirsher
  2013-09-12 20:25 ` [net 1/2] igb: Add additional get_phy_id call for i354 devices David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Kirsher @ 2013-09-10 18:57 UTC (permalink / raw)
  To: davem; +Cc: Carolyn Wyborny, netdev, gospo, sassmann, Jeff Kirsher

From: Carolyn Wyborny <carolyn.wyborny@intel.com>

This patch fixes a problem where some ports can fail to initialize on a
cold boot. This patch adds an additional call to read the PHY id for i354
devices in order workaround the hardware problem.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
 drivers/net/ethernet/intel/igb/e1000_82575.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c
index 79b5835..47c2d10 100644
--- a/drivers/net/ethernet/intel/igb/e1000_82575.c
+++ b/drivers/net/ethernet/intel/igb/e1000_82575.c
@@ -719,6 +719,10 @@ static s32 igb_get_phy_id_82575(struct e1000_hw *hw)
 	u32 ctrl_ext;
 	u32 mdic;
 
+	/* Extra read required for some PHY's on i354 */
+	if (hw->mac.type == e1000_i354)
+		igb_get_phy_id(hw);
+
 	/* For SGMII PHYs, we try the list of possible addresses until
 	 * we find one that works.  For non-SGMII PHYs
 	 * (e.g. integrated copper PHYs), an address of 1 should
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-12 20:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 18:57 [net 1/2] igb: Add additional get_phy_id call for i354 devices Jeff Kirsher
2013-09-10 18:57 ` [net 2/2] igb: Read flow control for i350 from correct EEPROM section Jeff Kirsher
2013-09-12 20:25   ` David Miller
2013-09-12 20:25 ` [net 1/2] igb: Add additional get_phy_id call for i354 devices David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).