]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/sun3lance.c
net: use netdev_mc_count and netdev_mc_empty when appropriate
[net-next-2.6.git] / drivers / net / sun3lance.c
index 0ca4241b4f63e3ac64f3947e7b24a5890725a07c..99998862c22e018ca1c3b8fe27184af9d31b7486 100644 (file)
@@ -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. */