]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/pcmcia/axnet_cs.c
net: convert multicast list to list_head
[net-next-2.6.git] / drivers / net / pcmcia / axnet_cs.c
index 09291e60d309a38cf5563e06ddcdbfdfc11b5504..333cb3344d542bd1a979bae9c122fd0368675bac 100644 (file)
@@ -1623,11 +1623,11 @@ static struct net_device_stats *get_stats(struct net_device *dev)
  
 static inline void make_mc_bits(u8 *bits, struct net_device *dev)
 {
-       struct dev_mc_list *dmi;
+       struct netdev_hw_addr *ha;
        u32 crc;
 
-       netdev_for_each_mc_addr(dmi, dev) {
-               crc = ether_crc(ETH_ALEN, dmi->dmi_addr);
+       netdev_for_each_mc_addr(ha, dev) {
+               crc = ether_crc(ETH_ALEN, ha->addr);
                /* 
                 * The 8390 uses the 6 most significant bits of the
                 * CRC to index the multicast table.