Skip to contentSkip to conversation

PATCH: 3c509 PNP80f7 id

PATCH Marcus Meissner 2 participants 2 messages May 30, 2001 Networking

lore
Share & tools
lore
#0 lore raw

Hi,

This adds the PNP80f7 compat Id to 3c509.c, making it now autodetect my '3C509B EtherLink III'.

BTW, there is a problem there:

It has a card id of TCM5094 and a function id of PNP80f7, the cardid is already there, but only probed as function id...

Anyway, I will let the dust settle on the ISAPNP module issue first before fixing it ;)

Ciao, Marcus

Index: drivers/net/3c509.c
===================================================================
RCS file: /build/mm/work/repository/linux-mm/drivers/net/3c509.c,v retrieving revision 1.17

net/3c509.c +3 -0
diff -u -r1.17 3c509.c
@@ -192,6 +191,9 @@
 		ISAPNP_VENDOR('T', 'C', 'M'), ISAPNP_FUNCTION(0x5098),
 		(long) "3Com Etherlink III (TPC)" },
 	{	ISAPNP_ANY_ID, ISAPNP_ANY_ID,
+		ISAPNP_VENDOR('P', 'N', 'P'), ISAPNP_FUNCTION(0x80f7),
+		(long) "3Com Etherlink III compatible" },
+	{	ISAPNP_ANY_ID, ISAPNP_ANY_ID,
 		ISAPNP_VENDOR('P', 'N', 'P'), ISAPNP_FUNCTION(0x80f8),
 		(long) "3Com Etherlink III compatible" },
 	{ }	/* terminate list */
#1 lore raw
Quoted 5 lines · In article <[email protected]> you wrote:

Hi,

This adds the PNP80f7 compat Id to 3c509.c, making it now autodetect my '3C509B EtherLink III'.

Quoted 7 lines

BTW, there is a problem there:

It has a card id of TCM5094 and a function id of PNP80f7, the cardid is already there, but only probed as function id...

Anyway, I will let the dust settle on the ISAPNP module issue first before fixing it ;)

An option might be to use the proper isapnp_probe_devs() function instead of hand-coded probing code...

Christoph

Signature · 1 line
Of course it doesn't work. We've performed a software upgrade.