From: Jeff Garzik <jgarzik@pobox.com>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 1/4] skge: turn carrier off when down
Date: Wed, 11 Apr 2007 11:54:54 -0400 [thread overview]
Message-ID: <461D04CE.7060004@pobox.com> (raw)
In-Reply-To: <20070407230325.470129283@linux-foundation.org>
Stephen Hemminger wrote:
> 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>
>
> --- netdev-2.6.orig/drivers/net/skge.c 2007-04-07 15:09:13.000000000 -0700
> +++ netdev-2.6/drivers/net/skge.c 2007-04-07 15:09:58.000000000 -0700
> @@ -2535,6 +2535,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)
> del_timer_sync(&skge->link_timer);
>
>
applied 1-4
next prev parent reply other threads:[~2007-04-11 15:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-07 23:02 [PATCH 0/4] skge/sky2 patches for 2.6.21 Stephen Hemminger
2007-04-07 23:02 ` [PATCH 1/4] skge: turn carrier off when down Stephen Hemminger
2007-04-11 15:54 ` Jeff Garzik [this message]
2007-04-07 23:02 ` [PATCH 2/4] sky2: " Stephen Hemminger
2007-04-07 23:02 ` [PATCH 3/4] sky2: turn on clocks when doing resume Stephen Hemminger
2007-04-07 23:02 ` [PATCH 4/4] sky2: phy workarounds for Yukon EC-U A1 Stephen Hemminger
-- strict thread matches above, loose matches on Subject: below --
2007-04-07 23:42 [PATCH 0/4] skge and sky2 patches Stephen Hemminger
2007-04-07 23:42 ` [PATCH 1/4] skge: turn carrier off when down Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=461D04CE.7060004@pobox.com \
--to=jgarzik@pobox.com \
--cc=netdev@vger.kernel.org \
--cc=shemminger@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).