aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/declance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/declance.c')
-rw-r--r--drivers/net/declance.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/declance.c b/drivers/net/declance.c
index 8cf3cc6f20e2..fb3f0984c289 100644
--- a/drivers/net/declance.c
+++ b/drivers/net/declance.c
@@ -940,7 +940,7 @@ static void lance_load_multicast(struct net_device *dev)
940{ 940{
941 struct lance_private *lp = netdev_priv(dev); 941 struct lance_private *lp = netdev_priv(dev);
942 volatile u16 *ib = (volatile u16 *)dev->mem_start; 942 volatile u16 *ib = (volatile u16 *)dev->mem_start;
943 struct dev_mc_list *dmi; 943 struct netdev_hw_addr *ha;
944 char *addrs; 944 char *addrs;
945 u32 crc; 945 u32 crc;
946 946
@@ -959,8 +959,8 @@ static void lance_load_multicast(struct net_device *dev)
959 *lib_ptr(ib, filter[3], lp->type) = 0; 959 *lib_ptr(ib, filter[3], lp->type) = 0;
960 960
961 /* Add addresses */ 961 /* Add addresses */
962 netdev_for_each_mc_addr(dmi, dev) { 962 netdev_for_each_mc_addr(ha, dev) {
963 addrs = dmi->dmi_addr; 963 addrs = ha->addr;
964 964
965 /* multicast address? */ 965 /* multicast address? */
966 if (!(*addrs & 1)) 966 if (!(*addrs & 1))