diff options
-rw-r--r-- | drivers/net/igb/e1000_82575.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/igb/e1000_82575.c b/drivers/net/igb/e1000_82575.c index dbbd72f35552..6158c0f3b205 100644 --- a/drivers/net/igb/e1000_82575.c +++ b/drivers/net/igb/e1000_82575.c | |||
@@ -172,6 +172,10 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw) | |||
172 | size = 14; | 172 | size = 14; |
173 | nvm->word_size = 1 << size; | 173 | nvm->word_size = 1 << size; |
174 | 174 | ||
175 | /* if 82576 then initialize mailbox parameters */ | ||
176 | if (mac->type == e1000_82576) | ||
177 | igb_init_mbx_params_pf(hw); | ||
178 | |||
175 | /* setup PHY parameters */ | 179 | /* setup PHY parameters */ |
176 | if (phy->media_type != e1000_media_type_copper) { | 180 | if (phy->media_type != e1000_media_type_copper) { |
177 | phy->type = e1000_phy_none; | 181 | phy->type = e1000_phy_none; |
@@ -221,10 +225,6 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw) | |||
221 | return -E1000_ERR_PHY; | 225 | return -E1000_ERR_PHY; |
222 | } | 226 | } |
223 | 227 | ||
224 | /* if 82576 then initialize mailbox parameters */ | ||
225 | if (mac->type == e1000_82576) | ||
226 | igb_init_mbx_params_pf(hw); | ||
227 | |||
228 | return 0; | 228 | return 0; |
229 | } | 229 | } |
230 | 230 | ||