From: Bill Fink <billfink@mindspring.com>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: linuxppc-dev@ozlabs.org, netdev@vger.kernel.org,
pantelis.antoniou@gmail.com, vbordug@ru.mvista.com
Subject: Re: [PATCH] fs_enet: restore promiscuous and multicast settings in restart()
Date: Thu, 19 Jun 2008 23:01:28 -0400 [thread overview]
Message-ID: <20080619230128.def96ee0.billfink@mindspring.com> (raw)
In-Reply-To: <200806181707.17739.laurentp@cse-semaphore.com>
On Wed, 18 Jun 2008, Laurent Pinchart wrote:
> The restart() function is called when the link state changes and resets
> multicast and promiscous settings. This patch restores those settings at the
> end of restart().
>
> Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
> ---
> drivers/net/fs_enet/mac-fcc.c | 3 +++
> 2 files changed, 4 insertions(+), 1 deletions(-)
Is the whole patch here? The above says 2 files changed and 5 lines
changed, but what's included here is only 1 file and 3 line changes.
> diff --git a/drivers/net/fs_enet/mac-fcc.c b/drivers/net/fs_enet/mac-fcc.c
> index ce40cf9..1a95cf1 100644
> --- a/drivers/net/fs_enet/mac-fcc.c
> +++ b/drivers/net/fs_enet/mac-fcc.c
> @@ -464,6 +464,9 @@ static void restart(struct net_device *dev)
> C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB);
>
> S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT);
> +
> + /* Restore multicast and promiscous settings */
> + set_multicast_list(dev);
> }
>
> static void stop(struct net_device *dev)
-Bill
next prev parent reply other threads:[~2008-06-20 3:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-18 15:07 [PATCH] fs_enet: restore promiscuous and multicast settings in restart() Laurent Pinchart
2008-06-18 18:45 ` Matvejchikov Ilya
2008-06-19 18:20 ` Vitaly Bordug
2008-06-19 18:47 ` Jon Loeliger
2008-06-19 19:15 ` Olof Johansson
2008-06-19 19:41 ` Matvejchikov Ilya
2008-06-20 3:01 ` Bill Fink [this message]
2008-06-20 8:25 ` Laurent Pinchart
2008-06-20 8:55 ` Matvejchikov Ilya
2008-06-26 9:38 ` Laurent Pinchart
2008-06-20 17:50 ` Bill Fink
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=20080619230128.def96ee0.billfink@mindspring.com \
--to=billfink@mindspring.com \
--cc=laurentp@cse-semaphore.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=pantelis.antoniou@gmail.com \
--cc=vbordug@ru.mvista.com \
/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).