Skip to contentSkip to conversation

igb: add i211 to i210 PHY workaround

PATCH New Todd Fujinaka 2 participants 2 messages Nov 28, 2016 – Dec 5, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igb: add i211 to i210 PHY workaround

i210 and i211 share the same PHY but have different PCI IDs. Don't forget i211 for any i210 workarounds.

---
 drivers/net/ethernet/intel/igb/e1000_phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/igb/e1000_phy.c +1 -1
index 93ec2d0..6ebfb75 100644
@@ -78,7 +78,7 @@ s32 igb_get_phy_id(struct e1000_hw *hw)
 	u16 phy_id;
 
 	/* ensure phy page selection to fix misconfigured i210 */
-	if (hw->mac.type == e1000_i210)
+	if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211))
 		phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0);
 
 	ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 igb: add i211 to i210 PHY workaround

Quoted 6 lines

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Todd Fujinaka
Sent: Monday, November 28, 2016 9:10 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH] igb: add i211 to i210 PHY workaround

Quoted 7 lines

i210 and i211 share the same PHY but have different PCI IDs. Don't forget i211 for any i210 workarounds.

---
 drivers/net/ethernet/intel/igb/e1000_phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)