From: Jeff Garzik <jeff@garzik.org>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: linuxppc-dev@ozlabs.org,
Matvejchikov Ilya <matvejchikov@gmail.com>,
vbordug@ru.mvista.com, netdev@vger.kernel.org
Subject: Re: [PATCHv2] fs_enet: restore promiscuous and multicast settings in restart()
Date: Fri, 04 Jul 2008 08:25:07 -0400 [thread overview]
Message-ID: <486E16A3.6020403@garzik.org> (raw)
In-Reply-To: <200806261148.26569.laurentp@cse-semaphore.com>
Laurent Pinchart wrote:
> The restart() function is called when the link state changes and resets
> multicast and promiscuous 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 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/fs_enet/mac-fcc.c b/drivers/net/fs_enet/mac-fcc.c
> index e363211..849afbe 100644
> --- a/drivers/net/fs_enet/mac-fcc.c
> +++ b/drivers/net/fs_enet/mac-fcc.c
> @@ -463,6 +463,9 @@ static void restart(struct net_device *dev)
> else
> C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB);
>
> + /* Restore multicast and promiscuous settings */
> + set_multicast_list(dev);
> +
> S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT);
applied 2.6.26
WARNING: multiple messages have this Message-ID (diff)
From: Jeff Garzik <jeff@garzik.org>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: linuxppc-dev@ozlabs.org, netdev@vger.kernel.org,
pantelis.antoniou@gmail.com, vbordug@ru.mvista.com,
Matvejchikov Ilya <matvejchikov@gmail.com>
Subject: Re: [PATCHv2] fs_enet: restore promiscuous and multicast settings in restart()
Date: Fri, 04 Jul 2008 08:25:07 -0400 [thread overview]
Message-ID: <486E16A3.6020403@garzik.org> (raw)
In-Reply-To: <200806261148.26569.laurentp@cse-semaphore.com>
Laurent Pinchart wrote:
> The restart() function is called when the link state changes and resets
> multicast and promiscuous 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 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/fs_enet/mac-fcc.c b/drivers/net/fs_enet/mac-fcc.c
> index e363211..849afbe 100644
> --- a/drivers/net/fs_enet/mac-fcc.c
> +++ b/drivers/net/fs_enet/mac-fcc.c
> @@ -463,6 +463,9 @@ static void restart(struct net_device *dev)
> else
> C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB);
>
> + /* Restore multicast and promiscuous settings */
> + set_multicast_list(dev);
> +
> S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT);
applied 2.6.26
next prev parent reply other threads:[~2008-07-04 12:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-26 9:48 [PATCHv2] fs_enet: restore promiscuous and multicast settings in restart() Laurent Pinchart
2008-06-26 9:48 ` Laurent Pinchart
2008-06-26 13:56 ` Vitaly Bordug
2008-06-26 13:56 ` Vitaly Bordug
2008-07-04 12:25 ` Jeff Garzik [this message]
2008-07-04 12:25 ` Jeff Garzik
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=486E16A3.6020403@garzik.org \
--to=jeff@garzik.org \
--cc=laurentp@cse-semaphore.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=matvejchikov@gmail.com \
--cc=netdev@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.