[PATCH] 3c509: Add missing EISA IDs

From: Maciej W. Rozycki
Date: Sat May 30 2009 - 19:40:48 EST


Several EISA device IDs for 3c509 family network cards are missing from
the driver, making the cards unusable in their EISA mode. Here's a fix to
add them based on the EISA configuration files distributed by 3Com and our
eisa.ids database.

Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxxxxxx>
---
Successfully tested with a 3c509-Combo network card:

EISA: Probing bus 0 at eisa.0
EISA: Mainboard AEI0401 detected.
EISA: slot 6 : NPI0303 detected.
EISA: slot 8 : TCM5094 detected.
eth0: 3c5x9 found at 0x8000, 10baseT port, address 00:a0:24:b6:8b:db, IRQ 11.
3c509.c:1.20 04Feb2008 becker@xxxxxxxxx
EISA: Detected 2 cards.

Please apply.

Maciej

patch-mips-2.6.27-rc8-20081004-3c509-eisa-0
Index: linux-mips-2.6.27-rc8-20081004-dolch/drivers/net/3c509.c
===================================================================
--- linux-mips-2.6.27-rc8-20081004-dolch.orig/drivers/net/3c509.c
+++ linux-mips-2.6.27-rc8-20081004-dolch/drivers/net/3c509.c
@@ -480,9 +480,13 @@ static int pnp_registered;

#ifdef CONFIG_EISA
static struct eisa_device_id el3_eisa_ids[] = {
+ { "TCM5090" },
+ { "TCM5091" },
{ "TCM5092" },
{ "TCM5093" },
+ { "TCM5094" },
{ "TCM5095" },
+ { "TCM5098" },
{ "" }
};
MODULE_DEVICE_TABLE(eisa, el3_eisa_ids);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/