diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-04-07 19:02:25 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-11 11:54:42 -0400 |
commit | e5b9ddd9a0f95e133db7b43d05978f24cd6f1369 (patch) | |
tree | 275e881717f62f47cb27ed818b57a3cc78334e2b /drivers/net/skge.c | |
parent | 5ab7ffea520948115a51a9931e1bb4c818aa8e35 (diff) |
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/net/skge.c')
-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) | |||
2535 | printk(KERN_INFO PFX "%s: disabling interface\n", dev->name); | 2535 | printk(KERN_INFO PFX "%s: disabling interface\n", dev->name); |
2536 | 2536 | ||
2537 | netif_stop_queue(dev); | 2537 | netif_stop_queue(dev); |
2538 | netif_carrier_off(dev); | ||
2538 | if (hw->chip_id == CHIP_ID_GENESIS && hw->phy_type == SK_PHY_XMAC) | 2539 | if (hw->chip_id == CHIP_ID_GENESIS && hw->phy_type == SK_PHY_XMAC) |
2539 | del_timer_sync(&skge->link_timer); | 2540 | del_timer_sync(&skge->link_timer); |
2540 | 2541 | ||