diff options
-rw-r--r-- | drivers/net/igb/e1000_82575.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_82575.c b/drivers/net/igb/e1000_82575.c index f5e2e7235fcb..9b367ba8e26f 100644 --- a/drivers/net/igb/e1000_82575.c +++ b/drivers/net/igb/e1000_82575.c | |||
@@ -1103,6 +1103,13 @@ static s32 igb_setup_fiber_serdes_link_82575(struct e1000_hw *hw) | |||
1103 | E1000_CTRL_SWDPIN1; | 1103 | E1000_CTRL_SWDPIN1; |
1104 | wr32(E1000_CTRL, reg); | 1104 | wr32(E1000_CTRL, reg); |
1105 | 1105 | ||
1106 | /* Power on phy for 82576 fiber adapters */ | ||
1107 | if (hw->mac.type == e1000_82576) { | ||
1108 | reg = rd32(E1000_CTRL_EXT); | ||
1109 | reg &= ~E1000_CTRL_EXT_SDP7_DATA; | ||
1110 | wr32(E1000_CTRL_EXT, reg); | ||
1111 | } | ||
1112 | |||
1106 | /* Set switch control to serdes energy detect */ | 1113 | /* Set switch control to serdes energy detect */ |
1107 | reg = rd32(E1000_CONNSW); | 1114 | reg = rd32(E1000_CONNSW); |
1108 | reg |= E1000_CONNSW_ENRGSRC; | 1115 | reg |= E1000_CONNSW_ENRGSRC; |