igb: add i211 to i210 PHY workaround
Subsystems (2)
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.
Signed-off-by Todd Fujinaka <[email protected]>
--- 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
@@ -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
Brown
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.
Signed-off-by Todd Fujinaka <[email protected]>--- drivers/net/ethernet/intel/igb/e1000_phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Tested-by Aaron Brown <[email protected]>