[PATCH] Intel EtherExpress 16 can use 0x240 too

From: Pavel Janík (Pavel@Janik.cz)
Date: Tue Aug 06 2002 - 16:40:26 EST


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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:33 EST