patch for mini-pci ethernet card

root (root@marge.springfield.attws.com)
Fri, 16 Feb 2001 14:52:46 -0400


Hi,

I have a HP Pavilon 5290 laptop. It has a a mini-pci modem/ethernet combo
integrated card.

Searching in the Internet I found a patch for the ethernet to work with the
tulip driver for kernel 2.2.x series, However, I found no patch for the 2.4.x
kernel series, so I made one.

Here is what /proc/pci detects as the ethernet card.

Bus 0, device 16, function 0:
Ethernet controller: PCI device 1113:1216 (Accton Technology Corporation)
(rev 17).
IRQ 11.
Master Capable. Latency=64. Min Gnt=255.Max Lat=255.
I/O at 0x1c00 [0x1cff].
Non-prefetchable 32 bit memory at 0xe8000000 [0xe80003ff].

This patch merely adds the configuration for that card in the tulip driver
tables.
I made this patch against kernel 2.4.1 and it works fine on my laptop.

Apply this patch against linux/drivers/net/tulip/tulip_core.c

Anyone with a similar laptop please test it and see if it works for you

My name is Paul Pacheco, email: paul.pacheco@wavecode.com

So, Here is the patch:

--- tulip_core.c.orig Fri Feb 16 14:30:38 2001
+++ tulip_core.c Fri Feb 16 14:47:54 2001
@@ -150,6 +150,9 @@
{ "Davicom DM9102/DM9102A", 128, 0x0001ebef,
HAS_MII | HAS_MEDIA_TABLE | CSR12_IN_SROM | HAS_ACPI,
tulip_timer },
+ { "EN2242 tulip work-alike", 128, 0x0801fbff,
+ HAS_MII | HAS_MEDIA_TABLE | ALWAYS_CHECK_MII | HAS_ACPI | HAS_NWAY,
+ t21142_timer },
{0},
};

@@ -177,6 +180,7 @@
{ 0x1282, 0x9100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DM910X },
{ 0x1282, 0x9102, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DM910X },
{ 0x1113, 0x1217, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MX98715 },
+ { 0x1113, 0x1216, PCI_ANY_ID, PCI_ANY_ID, 0, 0, COMET },
{0, }
};
MODULE_DEVICE_TABLE(pci, tulip_pci_tbl);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/