sky2: phy irq on shutdown
authorStephen Hemminger <shemminger@osdl.org>
Tue, 17 Oct 2006 17:23:56 +0000 (10:23 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Tue, 17 Oct 2006 17:23:56 +0000 (10:23 -0700)
When PHY is turned off on shutdown, it 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 will hang.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/sky2.c

Simple merge