Subject: [PATCH 1/4] skge: turn carrier off when down

From: Stephen Hemminger <[email-masked]>
Date: Sat, 07 Apr 2007 16:42:06 -0700

Driver needs to turn off carrier when down, otherwise it can
confuse bonding and bridging and looks like carrier is on immediately
when it is brought back up.

Signed-off-by: Stephen Hemminger <[email-masked]>

--- linux-2.6.20.y.orig/drivers/net/skge.c	2007-04-07 15:36:05.000000000 -0700
+++ linux-2.6.20.y/drivers/net/skge.c	2007-04-07 15:54:36.000000000 -0700
@@ -2462,6 +2462,7 @@
 		printk(KERN_INFO PFX "%s: disabling interface\n", dev->name);
 
 	netif_stop_queue(dev);
+	netif_carrier_off(dev);
 	if (hw->chip_id == CHIP_ID_GENESIS && hw->phy_type == SK_PHY_XMAC)
 		cancel_rearming_delayed_work(&skge->link_thread);

--