diff options
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r-- | drivers/net/sungem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 70196bc5fe61..58a27541ae39 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -1846,12 +1846,12 @@ static u32 gem_setup_multicast(struct gem *gp) | |||
1846 | } else { | 1846 | } else { |
1847 | u16 hash_table[16]; | 1847 | u16 hash_table[16]; |
1848 | u32 crc; | 1848 | u32 crc; |
1849 | struct dev_mc_list *dmi; | 1849 | struct netdev_hw_addr *ha; |
1850 | int i; | 1850 | int i; |
1851 | 1851 | ||
1852 | memset(hash_table, 0, sizeof(hash_table)); | 1852 | memset(hash_table, 0, sizeof(hash_table)); |
1853 | netdev_for_each_mc_addr(dmi, gp->dev) { | 1853 | netdev_for_each_mc_addr(ha, gp->dev) { |
1854 | char *addrs = dmi->dmi_addr; | 1854 | char *addrs = ha->addr; |
1855 | 1855 | ||
1856 | if (!(*addrs & 1)) | 1856 | if (!(*addrs & 1)) |
1857 | continue; | 1857 | continue; |