aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_82575.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/igb/e1000_82575.c')
-rw-r--r--drivers/net/igb/e1000_82575.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/igb/e1000_82575.c b/drivers/net/igb/e1000_82575.c
index bc183f5487cb..50f6e9649845 100644
--- a/drivers/net/igb/e1000_82575.c
+++ b/drivers/net/igb/e1000_82575.c
@@ -134,6 +134,8 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw)
134 case E1000_DEV_ID_82580_COPPER_DUAL: 134 case E1000_DEV_ID_82580_COPPER_DUAL:
135 case E1000_DEV_ID_DH89XXCC_SGMII: 135 case E1000_DEV_ID_DH89XXCC_SGMII:
136 case E1000_DEV_ID_DH89XXCC_SERDES: 136 case E1000_DEV_ID_DH89XXCC_SERDES:
137 case E1000_DEV_ID_DH89XXCC_BACKPLANE:
138 case E1000_DEV_ID_DH89XXCC_SFP:
137 mac->type = e1000_82580; 139 mac->type = e1000_82580;
138 break; 140 break;
139 case E1000_DEV_ID_I350_COPPER: 141 case E1000_DEV_ID_I350_COPPER:
@@ -1578,7 +1580,7 @@ static s32 igb_reset_mdicnfg_82580(struct e1000_hw *hw)
1578{ 1580{
1579 s32 ret_val = 0; 1581 s32 ret_val = 0;
1580 u32 mdicnfg; 1582 u32 mdicnfg;
1581 u16 nvm_data; 1583 u16 nvm_data = 0;
1582 1584
1583 if (hw->mac.type != e1000_82580) 1585 if (hw->mac.type != e1000_82580)
1584 goto out; 1586 goto out;