ixgbe: Fix 82599 KX4 Wake on LAN issue after an improper system shutdown
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Thu, 18 Mar 2010 15:16:56 +0000 (15:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2010 05:14:27 +0000 (22:14 -0700)
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>
drivers/net/ixgbe/ixgbe_main.c

index b858a1a79d0eacd9cc8f0bd8472dbcce910c6b7a..18b5b217f3102e8a7650b372f47889d18f3647c5 100644 (file)
@@ -6246,9 +6246,6 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
        case IXGBE_DEV_ID_82599_KX4:
                adapter->wol = (IXGBE_WUFC_MAG | IXGBE_WUFC_EX |
                                IXGBE_WUFC_MC | IXGBE_WUFC_BC);
-               /* Enable ACPI wakeup in GRC */
-               IXGBE_WRITE_REG(hw, IXGBE_GRC,
-                            (IXGBE_READ_REG(hw, IXGBE_GRC) & ~IXGBE_GRC_APME));
                break;
        default:
                adapter->wol = 0;