Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e5b9ddd9a0f95e133db7b43d05978f24cd6f1369 Commit: e5b9ddd9a0f95e133db7b43d05978f24cd6f1369 Parent: 5ab7ffea520948115a51a9931e1bb4c818aa8e35 Author: Stephen Hemminger <[EMAIL PROTECTED]> AuthorDate: Sat Apr 7 16:02:25 2007 -0700 Committer: Jeff Garzik <[EMAIL PROTECTED]> CommitDate: Wed Apr 11 11:54:42 2007 -0400
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 <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> --- 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 39c6677..cc907a1 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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html