public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* patch for mini-pci ethernet card
@ 2001-02-16 18:52 root
  2001-03-01  0:08 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: root @ 2001-02-16 18:52 UTC (permalink / raw)
  To: jgarzik; +Cc: tulip-users, linux-kernel

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);



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patch for mini-pci ethernet card
  2001-02-16 18:52 patch for mini-pci ethernet card root
@ 2001-03-01  0:08 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2001-03-01  0:08 UTC (permalink / raw)
  To: root; +Cc: tulip-users, linux-kernel

root wrote:
> 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].

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.

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-01  1:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-16 18:52 patch for mini-pci ethernet card root
2001-03-01  0:08 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox