diff options
Diffstat (limited to 'drivers/net/7990.c')
-rw-r--r-- | drivers/net/7990.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/7990.c b/drivers/net/7990.c index 500e135723bd..f09e59451495 100644 --- a/drivers/net/7990.c +++ b/drivers/net/7990.c | |||
@@ -594,7 +594,7 @@ static void lance_load_multicast (struct net_device *dev) | |||
594 | struct lance_private *lp = netdev_priv(dev); | 594 | struct lance_private *lp = netdev_priv(dev); |
595 | volatile struct lance_init_block *ib = lp->init_block; | 595 | volatile struct lance_init_block *ib = lp->init_block; |
596 | volatile u16 *mcast_table = (u16 *)&ib->filter; | 596 | volatile u16 *mcast_table = (u16 *)&ib->filter; |
597 | struct dev_mc_list *dmi; | 597 | struct netdev_hw_addr *ha; |
598 | char *addrs; | 598 | char *addrs; |
599 | u32 crc; | 599 | u32 crc; |
600 | 600 | ||
@@ -609,8 +609,8 @@ static void lance_load_multicast (struct net_device *dev) | |||
609 | ib->filter [1] = 0; | 609 | ib->filter [1] = 0; |
610 | 610 | ||
611 | /* Add addresses */ | 611 | /* Add addresses */ |
612 | netdev_for_each_mc_addr(dmi, dev) { | 612 | netdev_for_each_mc_addr(ha, dev) { |
613 | addrs = dmi->dmi_addr; | 613 | addrs = ha->addr; |
614 | 614 | ||
615 | /* multicast address? */ | 615 | /* multicast address? */ |
616 | if (!(*addrs & 1)) | 616 | if (!(*addrs & 1)) |