diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-02-22 04:22:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-22 18:45:52 -0500 |
commit | 48e2f183cb1709600012265a2e723f45a350d5fe (patch) | |
tree | 608368bda6f159342c307deca3b03998d25434c8 /drivers/net/fs_enet | |
parent | 7a81e9f3ca712db82344ea3ab2a5879241f59c48 (diff) |
net: convert multiple drivers to use netdev_for_each_mc_addr, part4
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fs_enet')
-rw-r--r-- | drivers/net/fs_enet/mac-fcc.c | 2 | ||||
-rw-r--r-- | drivers/net/fs_enet/mac-fec.c | 2 | ||||
-rw-r--r-- | drivers/net/fs_enet/mac-scc.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/fs_enet/mac-fcc.c b/drivers/net/fs_enet/mac-fcc.c index 482f27d5f7d..a761d31e3d6 100644 --- a/drivers/net/fs_enet/mac-fcc.c +++ b/drivers/net/fs_enet/mac-fcc.c | |||
@@ -235,7 +235,7 @@ static void set_multicast_list(struct net_device *dev) | |||
235 | 235 | ||
236 | if ((dev->flags & IFF_PROMISC) == 0) { | 236 | if ((dev->flags & IFF_PROMISC) == 0) { |
237 | set_multicast_start(dev); | 237 | set_multicast_start(dev); |
238 | for (pmc = dev->mc_list; pmc != NULL; pmc = pmc->next) | 238 | netdev_for_each_mc_addr(pmc, dev) |
239 | set_multicast_one(dev, pmc->dmi_addr); | 239 | set_multicast_one(dev, pmc->dmi_addr); |
240 | set_multicast_finish(dev); | 240 | set_multicast_finish(dev); |
241 | } else | 241 | } else |
diff --git a/drivers/net/fs_enet/mac-fec.c b/drivers/net/fs_enet/mac-fec.c index ddf13ef8ac8..ca806d1ab3f 100644 --- a/drivers/net/fs_enet/mac-fec.c +++ b/drivers/net/fs_enet/mac-fec.c | |||
@@ -236,7 +236,7 @@ static void set_multicast_list(struct net_device *dev) | |||
236 | 236 | ||
237 | if ((dev->flags & IFF_PROMISC) == 0) { | 237 | if ((dev->flags & IFF_PROMISC) == 0) { |
238 | set_multicast_start(dev); | 238 | set_multicast_start(dev); |
239 | for (pmc = dev->mc_list; pmc != NULL; pmc = pmc->next) | 239 | netdev_for_each_mc_addr(pmc, dev) |
240 | set_multicast_one(dev, pmc->dmi_addr); | 240 | set_multicast_one(dev, pmc->dmi_addr); |
241 | set_multicast_finish(dev); | 241 | set_multicast_finish(dev); |
242 | } else | 242 | } else |
diff --git a/drivers/net/fs_enet/mac-scc.c b/drivers/net/fs_enet/mac-scc.c index 141dbc91e5e..5bfc99b9475 100644 --- a/drivers/net/fs_enet/mac-scc.c +++ b/drivers/net/fs_enet/mac-scc.c | |||
@@ -228,7 +228,7 @@ static void set_multicast_list(struct net_device *dev) | |||
228 | 228 | ||
229 | if ((dev->flags & IFF_PROMISC) == 0) { | 229 | if ((dev->flags & IFF_PROMISC) == 0) { |
230 | set_multicast_start(dev); | 230 | set_multicast_start(dev); |
231 | for (pmc = dev->mc_list; pmc != NULL; pmc = pmc->next) | 231 | netdev_for_each_mc_addr(pmc, dev) |
232 | set_multicast_one(dev, pmc->dmi_addr); | 232 | set_multicast_one(dev, pmc->dmi_addr); |
233 | set_multicast_finish(dev); | 233 | set_multicast_finish(dev); |
234 | } else | 234 | } else |