aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ioc3-eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ioc3-eth.c')
-rw-r--r--drivers/net/ioc3-eth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c
index 8f6197d647c0..091ea3377ed0 100644
--- a/drivers/net/ioc3-eth.c
+++ b/drivers/net/ioc3-eth.c
@@ -1665,7 +1665,7 @@ static int ioc3_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
1665 1665
1666static void ioc3_set_multicast_list(struct net_device *dev) 1666static void ioc3_set_multicast_list(struct net_device *dev)
1667{ 1667{
1668 struct dev_mc_list *dmi; 1668 struct netdev_hw_addr *ha;
1669 struct ioc3_private *ip = netdev_priv(dev); 1669 struct ioc3_private *ip = netdev_priv(dev);
1670 struct ioc3 *ioc3 = ip->regs; 1670 struct ioc3 *ioc3 = ip->regs;
1671 u64 ehar = 0; 1671 u64 ehar = 0;
@@ -1689,8 +1689,8 @@ static void ioc3_set_multicast_list(struct net_device *dev)
1689 ip->ehar_h = 0xffffffff; 1689 ip->ehar_h = 0xffffffff;
1690 ip->ehar_l = 0xffffffff; 1690 ip->ehar_l = 0xffffffff;
1691 } else { 1691 } else {
1692 netdev_for_each_mc_addr(dmi, dev) { 1692 netdev_for_each_mc_addr(ha, dev) {
1693 char *addr = dmi->dmi_addr; 1693 char *addr = ha->addr;
1694 1694
1695 if (!(*addr & 1)) 1695 if (!(*addr & 1))
1696 continue; 1696 continue;