[PATCH]iver (a new ISA PnP ID)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Did you know that NetGear are still manufacturing ISA PnP network
cards? The EA201 is worryingly jumperless but works fine :-). Here is
a patch for the ne.o module so that it is correctly identified. BTW,
I suspect that the 'EDI0216' entry has an incorrect ISAPNP_CARD_ID()
line. However, I cannot prove this since I don't have one of those
cards.

Cheers,
Chris

--- linux-2.4.17/drivers/net/ne.c.orig	Thu Jan  3 13:40:16 2002
+++ linux-2.4.17/drivers/net/ne.c	Thu Jan  3 16:55:28 2002
@@ -75,7 +75,20 @@
 };
 #endif
 
+/*
+ * Example from /proc/isapnp
+ *
+ * Card 1 'AXE2011:NETGEAR EA201 Ethernet Card' PnP version 1.0
+ *  Logical device 0 'AXE2011:Unknown'
+ *
+ * The first line gives the ISAPNP_CARD_ID of AXE2011, the second line
+ * gives the ISAPNP_DEVICE_ID (i.e. VENDOR and FUNCTION), also AXE2011
+ * in this case.
+ */
 static struct isapnp_device_id isapnp_clone_list[] __initdata = {
+	{	ISAPNP_CARD_ID('A','X','E',0x2011),
+		ISAPNP_VENDOR('A','X','E'), ISAPNP_FUNCTION(0x2011),
+		(long) "NetGear EA201" },
 	{	ISAPNP_ANY_ID, ISAPNP_ANY_ID,
 		ISAPNP_VENDOR('E','D','I'), ISAPNP_FUNCTION(0x0216),
 		(long) "NN NE2000" },
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux