[PATCH] Intel EtherExpress 16 can use 0x240 too

Pavel =?ISO-8859-2?q?Jan=EDk?= (Pavel@Janik.cz)
Tue, 06 Aug 2002 23:40:26 +0200


Hi,

please apply this patch. It helped my customer to reuse those old cards (we
have about 500 pcs of it in various client systems).

diff -urN linux.orig/drivers/net/eexpress.c linux/drivers/net/eexpress.c
--- linux.orig/drivers/net/eexpress.c Tue Aug 6 23:23:27 2002
+++ linux/drivers/net/eexpress.c Tue Aug 6 23:24:19 2002
@@ -341,7 +341,7 @@
int __init express_probe(struct net_device *dev)
{
unsigned short *port;
- static unsigned short ports[] = { 0x300,0x310,0x270,0x320,0x340,0 };
+ static unsigned short ports[] = { 0x240,0x300,0x310,0x270,0x320,0x340,0 };
unsigned short ioaddr = dev->base_addr;

SET_MODULE_OWNER(dev);

-- 
Pavel Janík

640 K ought be enough. -- Bill Gates, 1984 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/