From: root <root@marge.springfield.attws.com>
To: jgarzik@mandrakesoft.com
Cc: tulip-users@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: patch for mini-pci ethernet card
Date: Fri, 16 Feb 2001 14:52:46 -0400 [thread overview]
Message-ID: <01021519112800.09592@marge.springfield> (raw)
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);
next reply other threads:[~2001-02-15 19:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-16 18:52 root [this message]
2001-03-01 0:08 ` patch for mini-pci ethernet card Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01021519112800.09592@marge.springfield \
--to=root@marge.springfield.attws.com \
--cc=jgarzik@mandrakesoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tulip-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox