diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-04-08 01:02:25 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-11 17:54:42 +0200 |
commit | e5b9ddd9a0f95e133db7b43d05978f24cd6f1369 (patch) | |
tree | 275e881717f62f47cb27ed818b57a3cc78334e2b /drivers | |
parent | [PATCH] FRV: Update the FRV arch MAINTAINER record to get a hit on "grep -i frv" (diff) | |
download | linux-e5b9ddd9a0f95e133db7b43d05978f24cd6f1369.tar.xz linux-e5b9ddd9a0f95e133db7b43d05978f24cd6f1369.zip |
skge: turn carrier off when down
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 <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/skge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 39c6677dff5e..cc907a1a5ecc 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c @@ -2535,6 +2535,7 @@ static int skge_down(struct net_device *dev) 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) del_timer_sync(&skge->link_timer); |