aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>2010-03-18 11:16:56 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-19 01:14:27 -0400
commit0ecad5a262923967147e2d1725e277a2a5fbcdd4 (patch)
tree0aff0fbae7e4dd13989ceff304387b1f30fb702d /drivers
parent1097cd17700c4e9903b7bbfcec1432f61784cb53 (diff)
ixgbe: Fix 82599 KX4 Wake on LAN issue after an improper system shutdown
Advanced Power Management is disabled for 82599 KX4 connections by clearing GRC.APME bit, causing it to not wake the system from an improper system shutdown. By default GRC.APME is enabled and software is not supposed to clear these settings during adapter probe. Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index b858a1a79d0e..18b5b217f310 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -6246,9 +6246,6 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
6246 case IXGBE_DEV_ID_82599_KX4: 6246 case IXGBE_DEV_ID_82599_KX4:
6247 adapter->wol = (IXGBE_WUFC_MAG | IXGBE_WUFC_EX | 6247 adapter->wol = (IXGBE_WUFC_MAG | IXGBE_WUFC_EX |
6248 IXGBE_WUFC_MC | IXGBE_WUFC_BC); 6248 IXGBE_WUFC_MC | IXGBE_WUFC_BC);
6249 /* Enable ACPI wakeup in GRC */
6250 IXGBE_WRITE_REG(hw, IXGBE_GRC,
6251 (IXGBE_READ_REG(hw, IXGBE_GRC) & ~IXGBE_GRC_APME));
6252 break; 6249 break;
6253 default: 6250 default:
6254 adapter->wol = 0; 6251 adapter->wol = 0;