mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
igb: Workaround for igb i210 firmware issue
am: 15ffc931ee
Change-Id: I3fcf7415f2b74a48f35cd2ebcd63ee1ac8a71840
This commit is contained in:
@@ -77,6 +77,10 @@ s32 igb_get_phy_id(struct e1000_hw *hw)
|
||||
s32 ret_val = 0;
|
||||
u16 phy_id;
|
||||
|
||||
/* ensure PHY page selection to fix misconfigured i210 */
|
||||
if (hw->mac.type == e1000_i210)
|
||||
phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0);
|
||||
|
||||
ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
|
||||
if (ret_val)
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user