diff options
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r-- | drivers/net/dm9000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index 7f9960f718e3..a818ea998bbe 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c | |||
@@ -725,7 +725,7 @@ static void | |||
725 | dm9000_hash_table(struct net_device *dev) | 725 | dm9000_hash_table(struct net_device *dev) |
726 | { | 726 | { |
727 | board_info_t *db = netdev_priv(dev); | 727 | board_info_t *db = netdev_priv(dev); |
728 | struct dev_mc_list *mcptr; | 728 | struct netdev_hw_addr *ha; |
729 | int i, oft; | 729 | int i, oft; |
730 | u32 hash_val; | 730 | u32 hash_val; |
731 | u16 hash_table[4]; | 731 | u16 hash_table[4]; |
@@ -753,8 +753,8 @@ dm9000_hash_table(struct net_device *dev) | |||
753 | rcr |= RCR_ALL; | 753 | rcr |= RCR_ALL; |
754 | 754 | ||
755 | /* the multicast address in Hash Table : 64 bits */ | 755 | /* the multicast address in Hash Table : 64 bits */ |
756 | netdev_for_each_mc_addr(mcptr, dev) { | 756 | netdev_for_each_mc_addr(ha, dev) { |
757 | hash_val = ether_crc_le(6, mcptr->dmi_addr) & 0x3f; | 757 | hash_val = ether_crc_le(6, ha->addr) & 0x3f; |
758 | hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); | 758 | hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); |
759 | } | 759 | } |
760 | 760 | ||