diff options
author | Luotao Fu <lfu@pengutronix.de> | 2008-12-03 22:23:18 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-03 22:23:18 -0800 |
commit | 48502180e4b47fb2b1e7834fe0f16f4e553a053d (patch) | |
tree | cf16bd9da31f54d0dc17bfdbd086272b85b9f2ec /drivers/net/smc91x.c | |
parent | 999890b21a8eff7559a140fcbd2cd4b34e685c76 (diff) | |
download | linux-3.10-48502180e4b47fb2b1e7834fe0f16f4e553a053d.tar.gz linux-3.10-48502180e4b47fb2b1e7834fe0f16f4e553a053d.tar.bz2 linux-3.10-48502180e4b47fb2b1e7834fe0f16f4e553a053d.zip |
smc91x: remove isa stuff from smc91x driver
ISA support in smc91x is incomplete. I doubt there're any smc91x isa card.
This driver is greatly used on arm pxa platforms. Hence we remove the
isa stuff from smc91x driver.
Signed-off-by: Luotao Fu <lfu@pengutronix.de>
Acked-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r-- | drivers/net/smc91x.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c index 54912aadf4b..b215a8d85e6 100644 --- a/drivers/net/smc91x.c +++ b/drivers/net/smc91x.c @@ -90,33 +90,6 @@ static const char version[] = #include "smc91x.h" -#ifdef CONFIG_ISA -/* - * the LAN91C111 can be at any of the following port addresses. To change, - * for a slightly different card, you can add it to the array. Keep in - * mind that the array must end in zero. - */ -static unsigned int smc_portlist[] __initdata = { - 0x200, 0x220, 0x240, 0x260, 0x280, 0x2A0, 0x2C0, 0x2E0, - 0x300, 0x320, 0x340, 0x360, 0x380, 0x3A0, 0x3C0, 0x3E0, 0 -}; - -#ifndef SMC_IOADDR -# define SMC_IOADDR -1 -#endif -static unsigned long io = SMC_IOADDR; -module_param(io, ulong, 0400); -MODULE_PARM_DESC(io, "I/O base address"); - -#ifndef SMC_IRQ -# define SMC_IRQ -1 -#endif -static int irq = SMC_IRQ; -module_param(irq, int, 0400); -MODULE_PARM_DESC(irq, "IRQ number"); - -#endif /* CONFIG_ISA */ - #ifndef SMC_NOWAIT # define SMC_NOWAIT 0 #endif @@ -2314,15 +2287,6 @@ static struct platform_driver smc_driver = { static int __init smc_init(void) { -#ifdef MODULE -#ifdef CONFIG_ISA - if (io == -1) - printk(KERN_WARNING - "%s: You shouldn't use auto-probing with insmod!\n", - CARDNAME); -#endif -#endif - return platform_driver_register(&smc_driver); } |