patch for mini-pci ethernet card
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: [email protected]
So, Here is the patch:
tulip_core.c renamed from tulip_core.c.orig +4 -0
@@ -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);
Quoted 9 lines · root
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/pcidetects as the ethernet card.
Quoted 7 lines
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].
I didn't use your patch, but this support should now be in the latest test driver, in Alan Cox's "ac" series of patches.
Signature · 3 lines
Jeff Garzik | "You see, in this world there's two kinds of Building 1024 | people, my friend: Those with loaded guns MandrakeSoft | and those who dig. You dig." --Blondie