sky2: Fix suspend/hibernation/shutdown regression with WOL enabled (rev. 2)
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 10 Aug 2008 17:30:28 +0000 (19:30 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 14 Aug 2008 08:27:44 +0000 (04:27 -0400)
commite484d5f5c8c64e2c4f110c59e9e964884107822a
tree53db0b8bc858c6eabbf85219b16e63eb270ef3fc
parent2726fcf0dab1a9b1fd04dea3837b2b0bb639c1bd
sky2: Fix suspend/hibernation/shutdown regression with WOL enabled (rev. 2)

On my test box with the Asus M3A32-MVP main board there is a
regression from 2.6.26 related to suspend, hibernation and
shutdown.  Namely, if Wake-on-LAN is enabled with
'ethtool -s eth0 wol g', the box hangs solid during all of these
operations, while executing either sky2_suspend(), or
sky2_shutdown().  This patch fixes it for me.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sky2.c