Skip to content

Commit 0ecad5a

Browse files
mrchilakdavem330
authored andcommitted
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>
1 parent 1097cd1 commit 0ecad5a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/net/ixgbe/ixgbe_main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6246,9 +6246,6 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
62466246
case IXGBE_DEV_ID_82599_KX4:
62476247
adapter->wol = (IXGBE_WUFC_MAG | IXGBE_WUFC_EX |
62486248
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));
62526249
break;
62536250
default:
62546251
adapter->wol = 0;

0 commit comments

Comments
 (0)