git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use netdev_mc_count and netdev_mc_empty when appropriate
[safe/jmp/linux-2.6]
/
drivers
/
net
/
sun3lance.c
diff --git
a/drivers/net/sun3lance.c
b/drivers/net/sun3lance.c
index
0ca4241
..
9999886
100644
(file)
--- a/
drivers/net/sun3lance.c
+++ b/
drivers/net/sun3lance.c
@@
-917,7
+917,7
@@
static void set_multicast_list( struct net_device *dev )
REGA( CSR15 ) = 0x8000; /* Set promiscuous mode */
} else {
short multicast_table[4];
- int num_addrs =
dev->mc_count
;
+ int num_addrs =
netdev_mc_count(dev)
;
int i;
/* We don't use the multicast table, but rely on upper-layer
* filtering. */