diff options
Diffstat (limited to 'drivers/net/eexpress.c')
-rw-r--r-- | drivers/net/eexpress.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/eexpress.c b/drivers/net/eexpress.c index 6fbfc8eee632..d804ff18eda8 100644 --- a/drivers/net/eexpress.c +++ b/drivers/net/eexpress.c | |||
@@ -1578,7 +1578,7 @@ static void eexp_setup_filter(struct net_device *dev) | |||
1578 | { | 1578 | { |
1579 | struct dev_mc_list *dmi; | 1579 | struct dev_mc_list *dmi; |
1580 | unsigned short ioaddr = dev->base_addr; | 1580 | unsigned short ioaddr = dev->base_addr; |
1581 | int count = dev->mc_count; | 1581 | int count = netdev_mc_count(dev); |
1582 | int i; | 1582 | int i; |
1583 | if (count > 8) { | 1583 | if (count > 8) { |
1584 | printk(KERN_INFO "%s: too many multicast addresses (%d)\n", | 1584 | printk(KERN_INFO "%s: too many multicast addresses (%d)\n", |
@@ -1627,9 +1627,9 @@ eexp_set_multicast(struct net_device *dev) | |||
1627 | } | 1627 | } |
1628 | if (!(dev->flags & IFF_PROMISC)) { | 1628 | if (!(dev->flags & IFF_PROMISC)) { |
1629 | eexp_setup_filter(dev); | 1629 | eexp_setup_filter(dev); |
1630 | if (lp->old_mc_count != dev->mc_count) { | 1630 | if (lp->old_mc_count != netdev_mc_count(dev)) { |
1631 | kick = 1; | 1631 | kick = 1; |
1632 | lp->old_mc_count = dev->mc_count; | 1632 | lp->old_mc_count = netdev_mc_count(dev); |
1633 | } | 1633 | } |
1634 | } | 1634 | } |
1635 | if (kick) { | 1635 | if (kick) { |