aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/netdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
-rw-r--r--drivers/net/e1000e/netdev.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 0925204cd2d8..24d05cb70055 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -4671,13 +4671,15 @@ static void e1000_eeprom_checks(struct e1000_adapter *adapter)
4671 ret_val = e1000_read_nvm(hw, NVM_INIT_CONTROL2_REG, 1, &buf); 4671 ret_val = e1000_read_nvm(hw, NVM_INIT_CONTROL2_REG, 1, &buf);
4672 if (!(le16_to_cpu(buf) & (1 << 0))) { 4672 if (!(le16_to_cpu(buf) & (1 << 0))) {
4673 /* Deep Smart Power Down (DSPD) */ 4673 /* Deep Smart Power Down (DSPD) */
4674 e_warn("Warning: detected DSPD enabled in EEPROM\n"); 4674 dev_warn(&adapter->pdev->dev,
4675 "Warning: detected DSPD enabled in EEPROM\n");
4675 } 4676 }
4676 4677
4677 ret_val = e1000_read_nvm(hw, NVM_INIT_3GIO_3, 1, &buf); 4678 ret_val = e1000_read_nvm(hw, NVM_INIT_3GIO_3, 1, &buf);
4678 if (le16_to_cpu(buf) & (3 << 2)) { 4679 if (le16_to_cpu(buf) & (3 << 2)) {
4679 /* ASPM enable */ 4680 /* ASPM enable */
4680 e_warn("Warning: detected ASPM enabled in EEPROM\n"); 4681 dev_warn(&adapter->pdev->dev,
4682 "Warning: detected ASPM enabled in EEPROM\n");
4681 } 4683 }
4682} 4684}
4683 4685