Subject: DECchip 21040 support in `tlp' driver
To: None <current-users@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 09/13/1999 18:10:45
Hi folks...
I've added support for the genuine DECchip 21040 to my Tulip driver. I
mostly did this in order to get data points for debugging PNIC and Macronix
support.
It should work with any single-port 21040 board; there is no support for
the ZNYX and Cogent multi-port 21040 boards in this driver yet; those
boards are supported by the `de' driver.
You can enable support for the 21040 in your kernel by adding:
options TLP_MATCH_21040
tlp* at pci? dev ? function ?
to your kernel config files. You can still have the `de' driver in your
kernel. The `tlp' driver will not conflict with support for the 21041,
21140, 21142, and 21143.
If you use this, you'll see something like:
tlp0 at pci0 dev 6 function 0: DECchip 21040 Ethernet, pass 2.6
tlp0: interrupting at kn20aa irq 13
tlp0: Ethernet address 00:00:f8:25:56:c5
tlp0: 10baseT, 10baseT-FDX, 10base5, manual, default 10baseT
An interesting data point: the 21040 doesn't have the problems the
PNIC has been having in this driver. I suspect I know what the problem
with the initial "filter setup timeout" is on the PNIC, and will try
and squash that this week.
I have seen the PR which fixes the MII code for the 21140, and I'll try
and see what's up with that this week, too. FYI, the current MII code
there works with the Winbond clone... so maybe this is another quirk :-/
Have fun!
-- Jason R. Thorpe <thorpej@nas.nasa.gov>