diff options
Diffstat (limited to 'drivers/net/skfp/skfddi.c')
| -rw-r--r-- | drivers/net/skfp/skfddi.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c index 1921a54ea995..7912606b0bc7 100644 --- a/drivers/net/skfp/skfddi.c +++ b/drivers/net/skfp/skfddi.c | |||
| @@ -78,13 +78,13 @@ static const char * const boot_msg = | |||
| 78 | #include <linux/kernel.h> | 78 | #include <linux/kernel.h> |
| 79 | #include <linux/errno.h> | 79 | #include <linux/errno.h> |
| 80 | #include <linux/ioport.h> | 80 | #include <linux/ioport.h> |
| 81 | #include <linux/slab.h> | ||
| 82 | #include <linux/interrupt.h> | 81 | #include <linux/interrupt.h> |
| 83 | #include <linux/pci.h> | 82 | #include <linux/pci.h> |
| 84 | #include <linux/netdevice.h> | 83 | #include <linux/netdevice.h> |
| 85 | #include <linux/fddidevice.h> | 84 | #include <linux/fddidevice.h> |
| 86 | #include <linux/skbuff.h> | 85 | #include <linux/skbuff.h> |
| 87 | #include <linux/bitops.h> | 86 | #include <linux/bitops.h> |
| 87 | #include <linux/gfp.h> | ||
| 88 | 88 | ||
| 89 | #include <asm/byteorder.h> | 89 | #include <asm/byteorder.h> |
| 90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
| @@ -852,7 +852,7 @@ static void skfp_ctl_set_multicast_list(struct net_device *dev) | |||
| 852 | static void skfp_ctl_set_multicast_list_wo_lock(struct net_device *dev) | 852 | static void skfp_ctl_set_multicast_list_wo_lock(struct net_device *dev) |
| 853 | { | 853 | { |
| 854 | struct s_smc *smc = netdev_priv(dev); | 854 | struct s_smc *smc = netdev_priv(dev); |
| 855 | struct dev_mc_list *dmi; | 855 | struct netdev_hw_addr *ha; |
| 856 | 856 | ||
| 857 | /* Enable promiscuous mode, if necessary */ | 857 | /* Enable promiscuous mode, if necessary */ |
| 858 | if (dev->flags & IFF_PROMISC) { | 858 | if (dev->flags & IFF_PROMISC) { |
| @@ -876,13 +876,13 @@ static void skfp_ctl_set_multicast_list_wo_lock(struct net_device *dev) | |||
| 876 | /* use exact filtering */ | 876 | /* use exact filtering */ |
| 877 | 877 | ||
| 878 | // point to first multicast addr | 878 | // point to first multicast addr |
| 879 | netdev_for_each_mc_addr(dmi, dev) { | 879 | netdev_for_each_mc_addr(ha, dev) { |
| 880 | mac_add_multicast(smc, | 880 | mac_add_multicast(smc, |
| 881 | (struct fddi_addr *)dmi->dmi_addr, | 881 | (struct fddi_addr *)ha->addr, |
| 882 | 1); | 882 | 1); |
| 883 | 883 | ||
| 884 | pr_debug(KERN_INFO "ENABLE MC ADDRESS: %pMF\n", | 884 | pr_debug(KERN_INFO "ENABLE MC ADDRESS: %pMF\n", |
| 885 | dmi->dmi_addr); | 885 | ha->addr); |
| 886 | } | 886 | } |
| 887 | 887 | ||
| 888 | } else { // more MC addresses than HW supports | 888 | } else { // more MC addresses than HW supports |
