]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/pcmcia/smc91c92_cs.c
net: convert multicast list to list_head
[net-next-2.6.git] / drivers / net / pcmcia / smc91c92_cs.c
index 5adc662c4bfbd3b15d42ab80c47f1d9b5b633506..f45c626003a40fef3057352fb434968f50f6768e 100644 (file)
@@ -1616,12 +1616,12 @@ static void set_rx_mode(struct net_device *dev)
        rx_cfg_setting = RxStripCRC | RxEnable | RxAllMulti;
     else {
        if (!netdev_mc_empty(dev)) {
-           struct dev_mc_list *mc_addr;
+           struct netdev_hw_addr *ha;
 
-           netdev_for_each_mc_addr(mc_addr, dev) {
-               u_int position = ether_crc(6, mc_addr->dmi_addr);
+           netdev_for_each_mc_addr(ha, dev) {
+               u_int position = ether_crc(6, ha->addr);
 #ifndef final_version          /* Verify multicast address. */
-               if ((mc_addr->dmi_addr[0] & 1) == 0)
+               if ((ha->addr[0] & 1) == 0)
                    continue;
 #endif
                multicast_table[position >> 29] |= 1 << ((position >> 26) & 7);