diff options
Diffstat (limited to 'drivers/net/hp100.c')
| -rw-r--r-- | drivers/net/hp100.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/hp100.c b/drivers/net/hp100.c index b766a69bf0ca..0f3f6c2e6942 100644 --- a/drivers/net/hp100.c +++ b/drivers/net/hp100.c | |||
| @@ -102,7 +102,6 @@ | |||
| 102 | #include <linux/string.h> | 102 | #include <linux/string.h> |
| 103 | #include <linux/errno.h> | 103 | #include <linux/errno.h> |
| 104 | #include <linux/ioport.h> | 104 | #include <linux/ioport.h> |
| 105 | #include <linux/slab.h> | ||
| 106 | #include <linux/interrupt.h> | 105 | #include <linux/interrupt.h> |
| 107 | #include <linux/eisa.h> | 106 | #include <linux/eisa.h> |
| 108 | #include <linux/pci.h> | 107 | #include <linux/pci.h> |
| @@ -2100,15 +2099,15 @@ static void hp100_set_multicast_list(struct net_device *dev) | |||
| 2100 | } else { | 2099 | } else { |
| 2101 | int i, idx; | 2100 | int i, idx; |
| 2102 | u_char *addrs; | 2101 | u_char *addrs; |
| 2103 | struct dev_mc_list *dmi; | 2102 | struct netdev_hw_addr *ha; |
| 2104 | 2103 | ||
| 2105 | memset(&lp->hash_bytes, 0x00, 8); | 2104 | memset(&lp->hash_bytes, 0x00, 8); |
| 2106 | #ifdef HP100_DEBUG | 2105 | #ifdef HP100_DEBUG |
| 2107 | printk("hp100: %s: computing hash filter - mc_count = %i\n", | 2106 | printk("hp100: %s: computing hash filter - mc_count = %i\n", |
| 2108 | dev->name, netdev_mc_count(dev)); | 2107 | dev->name, netdev_mc_count(dev)); |
| 2109 | #endif | 2108 | #endif |
| 2110 | netdev_for_each_mc_addr(dmi, dev) { | 2109 | netdev_for_each_mc_addr(ha, dev) { |
| 2111 | addrs = dmi->dmi_addr; | 2110 | addrs = ha->addr; |
| 2112 | if ((*addrs & 0x01) == 0x01) { /* multicast address? */ | 2111 | if ((*addrs & 0x01) == 0x01) { /* multicast address? */ |
| 2113 | #ifdef HP100_DEBUG | 2112 | #ifdef HP100_DEBUG |
| 2114 | printk("hp100: %s: multicast = %pM, ", | 2113 | printk("hp100: %s: multicast = %pM, ", |
