macb: Call phy_disconnect on removing
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 10 Apr 2008 14:30:07 +0000 (23:30 +0900)
committerChris Wright <chrisw@sous-sol.org>
Sat, 19 Apr 2008 01:53:30 +0000 (18:53 -0700)
commitd7d835ba45a0a2b30ed47887275e271e9ddddbdb
tree4a21668fa2408be685c8869ebdd3c25c427b9ff8
parentacba01a4a72096cd60de7dad570acea3ec7f46ab
macb: Call phy_disconnect on removing

upstream commit: 84b7901f8d5a17536ef2df7fd628ab865df8fe3a

Call phy_disconnect() on remove routine.  Otherwise the phy timer
causes a kernel crash when unloading.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/macb.c