]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5715ee569e86c5d0cbc743dc83b00b892b7aa189
tree650bb7a00d2236080faa05acf52ad768648e04ea
parent1fbd6628d255042cb2aa2a241edc4ace9944a52c
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