WOL bugfix for 3c59x.c
authorSteffen Klassert <klassert@mathematik.tu-chemnitz.de>
Tue, 16 Oct 2007 21:24:09 +0000 (14:24 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 17 Oct 2007 01:10:29 +0000 (21:10 -0400)
commit1a1769f32349a188db48cf81fe306b6f841fc246
treeaead5a7b2e8e0e2ce4273832410739bc21761d2b
parentd0cab89601c3afb6067175de6796bc7bb9a3f56c
WOL bugfix for 3c59x.c

Some NICs (3c905B) can not generate PME in power state PCI_D0, while others
like 3c905C can.  Call pci_enable_wake() with PCI_D3hot should give proper
WOL for 3c905B.

Signed-off-by: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Tested-by: Harry Coin <hcoin@n4comm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/3c59x.c