ath9k_htc: Add TL-WN422G v2 product ID
[safe/jmp/linux-2.6] / drivers / net / mv643xx_eth.c
index e24072a..c97b6e4 100644 (file)
@@ -1794,7 +1794,7 @@ oom:
        memset(mc_spec, 0, 0x100);
        memset(mc_other, 0, 0x100);
 
-       for (addr = dev->mc_list; addr != NULL; addr = addr->next) {
+       netdev_for_each_mc_addr(addr, dev) {
                u8 *a = addr->da_addr;
                u32 *table;
                int entry;
@@ -2846,6 +2846,7 @@ static const struct net_device_ops mv643xx_eth_netdev_ops = {
        .ndo_start_xmit         = mv643xx_eth_xmit,
        .ndo_set_rx_mode        = mv643xx_eth_set_rx_mode,
        .ndo_set_mac_address    = mv643xx_eth_set_mac_address,
+       .ndo_validate_addr      = eth_validate_addr,
        .ndo_do_ioctl           = mv643xx_eth_ioctl,
        .ndo_change_mtu         = mv643xx_eth_change_mtu,
        .ndo_tx_timeout         = mv643xx_eth_tx_timeout,