]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/ni52.c
net: use netdev_mc_count and netdev_mc_empty when appropriate
[net-next-2.6.git] / drivers / net / ni52.c
index b42f5e522f90bbab590cb3cf486dd0df973d976e..497c6d514a68664cac1b15320b3a1756bd77c84f 100644 (file)
@@ -597,7 +597,7 @@ static int init586(struct net_device *dev)
        struct tdr_cmd_struct __iomem *tdr_cmd;
        struct mcsetup_cmd_struct __iomem *mc_cmd;
        struct dev_mc_list *dmi = dev->mc_list;
-       int num_addrs = dev->mc_count;
+       int num_addrs = netdev_mc_count(dev);
 
        ptr = p->scb + 1;