Patchwork 3c509: Add missing EISA IDs

login
register
mail settings
Submitter Maciej W. Rozycki
Date May 30, 2009, 11:40 p.m.
Message ID <alpine.LFD.1.10.0905310021070.15490@ftp.linux-mips.org>
Download mbox | patch
Permalink /patch/27876/
State Accepted
Delegated to: David Miller
Headers show

Comments

Maciej W. Rozycki - May 30, 2009, 11:40 p.m.
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@linux-mips.org>
---
 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@scyld.com
EISA: Detected 2 cards.

 Please apply.

  Maciej

patch-mips-2.6.27-rc8-20081004-3c509-eisa-0
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - May 31, 2009, 5:58 a.m.
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Sun, 31 May 2009 00:40:31 +0100 (BST)

>  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@linux-mips.org>

Please send networking driver patches to me, not Jeff Garzik,
as per current linux/MAINTAINERS

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Maciej W. Rozycki - May 31, 2009, 12:42 p.m.
On Sat, 30 May 2009, David Miller wrote:

> Please send networking driver patches to me, not Jeff Garzik,
> as per current linux/MAINTAINERS

 Will do -- I missed that change, sorry.

  Maciej
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - June 1, 2009, 10:12 a.m.
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Sun, 31 May 2009 00:40:31 +0100 (BST)

>  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@linux-mips.org>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

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);