[PATCH] sky2: turn off PHY IRQ on shutdown
commit0880d4e6062e116ab02f5f40814e8938b6f58c2e
authorStephen Hemminger <shemminger@osdl.org>
Thu, 12 Oct 2006 22:32:42 +0000 (12 15:32 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 4 Nov 2006 01:33:44 +0000 (3 17:33 -0800)
tree80ea0621311eb72d67fb875f477463fcfa6c8d15
parentcc4b988eefa12a629ba339e2432c8669a04718fe
[PATCH] sky2: turn off PHY IRQ on shutdown

When PHY is turned off on shutdown, it can causes the IRQ to get stuck on.
Make sure and disable the IRQ first, and if IRQ occurs when device
is not running, don't access PHY because that can hang.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/sky2.c