diff options
| author | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
| commit | 62910554656cdcd6b6f84a5154c4155aae4ca231 (patch) | |
| tree | dcf14004f6fd2ef7154362ff948bfeba0f3ea92d /drivers/net/eepro.c | |
| parent | 22265a5c3c103cf8c50be62e6c90d045eb649e6d (diff) | |
| parent | ab9304717f7624c41927f442e6b6d418b2d8b3e4 (diff) | |
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts:
	Documentation/feature-removal-schedule.txt
	net/ipv6/netfilter/ip6t_REJECT.c
	net/netfilter/xt_limit.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'drivers/net/eepro.c')
| -rw-r--r-- | drivers/net/eepro.c | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index 1b05bdf62c3c..eed65d821e47 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c | |||
| @@ -137,7 +137,6 @@ static const char version[] = | |||
| 137 | #include <linux/interrupt.h> | 137 | #include <linux/interrupt.h> | 
| 138 | #include <linux/ioport.h> | 138 | #include <linux/ioport.h> | 
| 139 | #include <linux/in.h> | 139 | #include <linux/in.h> | 
| 140 | #include <linux/slab.h> | ||
| 141 | #include <linux/string.h> | 140 | #include <linux/string.h> | 
| 142 | #include <linux/errno.h> | 141 | #include <linux/errno.h> | 
| 143 | #include <linux/netdevice.h> | 142 | #include <linux/netdevice.h> | 
| @@ -646,7 +645,7 @@ static void __init printEEPROMInfo(struct net_device *dev) | |||
| 646 | if (GetBit(Word,ee_PortTPE)) printk(KERN_DEBUG "TPE "); | 645 | if (GetBit(Word,ee_PortTPE)) printk(KERN_DEBUG "TPE "); | 
| 647 | if (GetBit(Word,ee_PortBNC)) printk(KERN_DEBUG "BNC "); | 646 | if (GetBit(Word,ee_PortBNC)) printk(KERN_DEBUG "BNC "); | 
| 648 | if (GetBit(Word,ee_PortAUI)) printk(KERN_DEBUG "AUI "); | 647 | if (GetBit(Word,ee_PortAUI)) printk(KERN_DEBUG "AUI "); | 
| 649 | printk(KERN_DEBUG "port(s) \n"); | 648 | printk(KERN_DEBUG "port(s)\n"); | 
| 650 | 649 | ||
| 651 | Word = lp->word[6]; | 650 | Word = lp->word[6]; | 
| 652 | printk(KERN_DEBUG "Word6:\n"); | 651 | printk(KERN_DEBUG "Word6:\n"); | 
| @@ -766,7 +765,7 @@ static int __init eepro_probe1(struct net_device *dev, int autoprobe) | |||
| 766 | /* Grab the region so we can find another board if autoIRQ fails. */ | 765 | /* Grab the region so we can find another board if autoIRQ fails. */ | 
| 767 | if (!request_region(ioaddr, EEPRO_IO_EXTENT, DRV_NAME)) { | 766 | if (!request_region(ioaddr, EEPRO_IO_EXTENT, DRV_NAME)) { | 
| 768 | if (!autoprobe) | 767 | if (!autoprobe) | 
| 769 | printk(KERN_WARNING "EEPRO: io-port 0x%04x in use \n", | 768 | printk(KERN_WARNING "EEPRO: io-port 0x%04x in use\n", | 
| 770 | ioaddr); | 769 | ioaddr); | 
| 771 | return -EBUSY; | 770 | return -EBUSY; | 
| 772 | } | 771 | } | 
| @@ -1287,7 +1286,7 @@ set_multicast_list(struct net_device *dev) | |||
| 1287 | struct eepro_local *lp = netdev_priv(dev); | 1286 | struct eepro_local *lp = netdev_priv(dev); | 
| 1288 | short ioaddr = dev->base_addr; | 1287 | short ioaddr = dev->base_addr; | 
| 1289 | unsigned short mode; | 1288 | unsigned short mode; | 
| 1290 | struct dev_mc_list *dmi; | 1289 | struct netdev_hw_addr *ha; | 
| 1291 | int mc_count = netdev_mc_count(dev); | 1290 | int mc_count = netdev_mc_count(dev); | 
| 1292 | 1291 | ||
| 1293 | if (dev->flags&(IFF_ALLMULTI|IFF_PROMISC) || mc_count > 63) | 1292 | if (dev->flags&(IFF_ALLMULTI|IFF_PROMISC) || mc_count > 63) | 
| @@ -1332,8 +1331,8 @@ set_multicast_list(struct net_device *dev) | |||
| 1332 | outw(0, ioaddr + IO_PORT); | 1331 | outw(0, ioaddr + IO_PORT); | 
| 1333 | outw(6 * (mc_count + 1), ioaddr + IO_PORT); | 1332 | outw(6 * (mc_count + 1), ioaddr + IO_PORT); | 
| 1334 | 1333 | ||
| 1335 | netdev_for_each_mc_addr(dmi, dev) { | 1334 | netdev_for_each_mc_addr(ha, dev) { | 
| 1336 | eaddrs = (unsigned short *) dmi->dmi_addr; | 1335 | eaddrs = (unsigned short *) ha->addr; | 
| 1337 | outw(*eaddrs++, ioaddr + IO_PORT); | 1336 | outw(*eaddrs++, ioaddr + IO_PORT); | 
| 1338 | outw(*eaddrs++, ioaddr + IO_PORT); | 1337 | outw(*eaddrs++, ioaddr + IO_PORT); | 
| 1339 | outw(*eaddrs++, ioaddr + IO_PORT); | 1338 | outw(*eaddrs++, ioaddr + IO_PORT); | 
