ixgbe: Fix WoL functionality for 82599 KX4 devices
authorWaskiewicz Jr, Peter P <peter.p.waskiewicz.jr@intel.com>
Thu, 23 Apr 2009 11:15:18 +0000 (11:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 10:14:48 +0000 (03:14 -0700)
commit495dce123ceabbae035552437fcaa0f69247ff08
tree7b5cd7c1f8f8c77d7e1e9def4be9638b34ec3bab
parentae0e8e82205c903978a79ebf5e31c670b61fa5b4
ixgbe: Fix WoL functionality for 82599 KX4 devices

The current code writes the PME enabled bit in PCI config space which is
wrong.  This was needed for pre-release hardware, and was not removed from
the driver.  Also, we need to clear the WUS (wake up status) after we
resume.  Otherwise we can't wake for the same event again since it's still
asserted in the hardware.  Plus, the multicast lists were being written
improperly, causing multicast WoL to fail.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@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_common.c
drivers/net/ixgbe/ixgbe_main.c