diff options
Diffstat (limited to 'drivers/net/e1000e/82571.c')
-rw-r--r-- | drivers/net/e1000e/82571.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index 60c15cbbc401..cf43ee743b3c 100644 --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c | |||
@@ -332,8 +332,9 @@ static s32 e1000_get_variants_82571(struct e1000_adapter *adapter) | |||
332 | 332 | ||
333 | case e1000_82573: | 333 | case e1000_82573: |
334 | if (pdev->device == E1000_DEV_ID_82573L) { | 334 | if (pdev->device == E1000_DEV_ID_82573L) { |
335 | e1000_read_nvm(&adapter->hw, NVM_INIT_3GIO_3, 1, | 335 | if (e1000_read_nvm(&adapter->hw, NVM_INIT_3GIO_3, 1, |
336 | &eeprom_data); | 336 | &eeprom_data) < 0) |
337 | break; | ||
337 | if (eeprom_data & NVM_WORD1A_ASPM_MASK) | 338 | if (eeprom_data & NVM_WORD1A_ASPM_MASK) |
338 | adapter->flags &= ~FLAG_HAS_JUMBO_FRAMES; | 339 | adapter->flags &= ~FLAG_HAS_JUMBO_FRAMES; |
339 | } | 340 | } |