[patch 05/31] sky2: turn carrier off when down

Greg KH
2007-04-11T23:03:49Z

[-- Attachment #1: sky2-carrier.patch --]
[-- Type: text/plain, Size: 660 bytes --]

-stable review patch. If anyone has any objections, please let us know.

------------------
From: Stephen Hemminger <shemminger@linux-foundation.org>

Driver needs to turn off carrier when down.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
drivers/net/sky2.c | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -1506,6 +1506,7 @@ static int sky2_down(struct net_device *

/* Stop more packets from being queued */
netif_stop_queue(dev);
+ netif_carrier_off(dev);

/* Disable port IRQ */
imask = sky2_read32(hw, B0_IMSK);

--