netdev
[Top] [All Lists]

[PATCH]iver (a new ISA PnP ID) (fwd)

To: <netdev@xxxxxxxxxxx>
Subject: [PATCH]iver (a new ISA PnP ID) (fwd)
From: Pekka Savola <pekkas@xxxxxxxxxx>
Date: Fri, 4 Jan 2002 10:00:32 +0200 (EET)
Cc: Chris Rankin <rankincj@xxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Netdev people might be interested (it's a better place for patches than 
linux-net).

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords

---------- Forwarded message ----------
Date: Thu, 3 Jan 2002 23:21:22 +0000 (GMT)
From: Chris Rankin <rankincj@xxxxxxxxx>
To: p_gortmaker@xxxxxxxxx
Cc: linux-net@xxxxxxxxxxxxxxx
Subject: [PATCH]iver (a new ISA PnP ID)

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" },
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


<Prev in Thread] Current Thread [Next in Thread>