sky2: fix Wake On Lan interaction with BIOS
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 24 Jan 2008 03:16:04 +0000 (19:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2008 12:28:44 +0000 (04:28 -0800)
commit82637e808478087ce861129745fa60cc37e7929d
treeb9bf662a5690f4948b376f821f8eb57d9247c2e3
parenta7bffe722c996679b4fb2103ecaf673ec2b9b4a7
sky2: fix Wake On Lan interaction with BIOS

This patch disables config mode access after clearing PCI settings.
Some BIOS's seem to not do WOL if config bit still set.

Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=9721

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c