[PATCH] Stop calling phy_stop_interrupts() twice
authorSergei Shtylylov <sshtylyov@ru.mvista.com>
Tue, 25 Jul 2006 20:53:53 +0000 (00:53 +0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 3 Aug 2006 21:29:59 +0000 (17:29 -0400)
commit817acf5ebd9ea21f134fc90064b0f6686c5b169d
tree5573d1c3243111b45f7563d2e2f098dec15c4f10
parent75c30b1368faaa9c740536b91a15a33aab62f30b
[PATCH] Stop calling phy_stop_interrupts() twice

Prevent phylib from freeing PHY IRQ twice on closing an eth device:
phy_disconnect() first calls phy_stop_interrupts(), then it calls
phy_stop_machine() which in turn calls phy_stop_interrupts() making the
kernel complain on each bootup...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/phy.c