]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/et131x/et131x_netdev.c
net: convert multicast list to list_head
[net-next-2.6.git] / drivers / staging / et131x / et131x_netdev.c
index 40f8954dde478b526039b3729ad9267b9d16ce6f..2fb89cddef1678402b5e362a1d69b4460780d859 100644 (file)
@@ -405,7 +405,7 @@ void et131x_multicast(struct net_device *netdev)
        struct et131x_adapter *adapter = netdev_priv(netdev);
        uint32_t PacketFilter = 0;
        unsigned long flags;
-       struct dev_mc_list *mclist;
+       struct netdev_hw_addr *ha;
        int i;
 
        spin_lock_irqsave(&adapter->Lock, flags);
@@ -450,10 +450,10 @@ void et131x_multicast(struct net_device *netdev)
 
        /* Set values in the private adapter struct */
        i = 0;
-       netdev_for_each_mc_addr(mclist, netdev) {
+       netdev_for_each_mc_addr(ha, netdev) {
                if (i == NIC_MAX_MCAST_LIST)
                        break;
-               memcpy(adapter->MCList[i++], mclist->dmi_addr, ETH_ALEN);
+               memcpy(adapter->MCList[i++], ha->addr, ETH_ALEN);
        }
        adapter->MCAddressCount = i;