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)
commitebc646f681a6ad5a81989a6906832e82155df283
tree650bb7a00d2236080faa05acf52ad768648e04ea
parente561a83be5c9cada5fa3733efdff67a2098a0c8e
sky2: phy irq on shutdown

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