From: "Matvejchikov Ilya" <matvejchikov@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: [PATCH] fs_enet & multicasting
Date: Fri, 27 Apr 2007 22:34:28 +0400 [thread overview]
Message-ID: <8496f91a0704271134r48a4855mc79d2e38fae3c041@mail.gmail.com> (raw)
Good Day!
There is a problem in fs_enet driver. When TX times out or when PHY
transceiver adjusts the link the restart() function is called. But it
doesn't take into account the existing device multicast settings (and
IFF_PROMISC too). This little patch fixes the problem.
Signed-off-by: Matvejchikov Ilya <matvejchikov <at> gmail.com>
===================================================================
--- linux-2.6.21.orig/drivers/net/fs_enet/mac-fcc.c
+++ linux-2.6.21/drivers/net/fs_enet/mac-fcc.c
@@ -433,6 +433,8 @@
else
C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB);
+ set_multicast_list(dev);
+
S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT);
}
reply other threads:[~2007-04-27 18:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=8496f91a0704271134r48a4855mc79d2e38fae3c041@mail.gmail.com \
--to=matvejchikov@gmail.com \
--cc=linuxppc-embedded@ozlabs.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).