Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2000 09:51:23 -0700 (PDT)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        king-gr@primenet.com (Rosemary & Gerald King)
Cc:        Freebsd-hardware@Freebsd.org
Subject:   Re: Linksys PCI 10/100 network card
Message-ID:  <20000822165123.9B27437B423@hub.freebsd.org>
In-Reply-To: <014701c00bef$b01920e0$d92ea5ce@kinggr> from Rosemary & Gerald King at "Aug 21, 2000 09:16:02 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
>  Has anyone gotten this card to work in Freebsd 3.2.  I went to the linksys site and pulled
> down some recommended kernel mods.  The device-driver "pn" is not loaded nor is the
> card identified by the PCI bus scan.  I have three different systems all running 3.2 exhibiting
> the same behaviour on two different cards.  Any advice would be appreciated.

Unfortunately, you need to be a little more specific. LinkSys has had
a bunch of 10/100 PCI cards on the market, several of which have the
same product name. It's important to know which one you have. Here are
the ones I know about:

Really old LNE100TX
-------------------
This has the 82c168 PNIC chipset on it and uses the PNIC's internal
NWAY support, which is horribly broken. You can identify it by the
presence of a relay on the board used for switching between 10 and
100Mbps modes, and the word PNIC on the controller chip in big letters.
This board should work with the pn driver in 3.2.

Not quite so old LNE100TX
-------------------------
Uses the 82c169 PNIC chip and an external MII-compliant PHY. Since
the external PHY provides the NWAY autonegotiation support, no relay
is needed. Also works with the pn driver.

LNE100TX version 2.0
--------------------
This card uses the 82c115 PNIC II chip with built-in NWAY. This card
does not use the pn driver: it needs the mx driver. I don't know if
the mx driver in 3.2 was modified to support this chip offhand. I think
it may be in 3.3.

LNE100TX version 4.0 and 4.1
----------------------------
This card uses the ADMtek AN985 Centaur chipset, also with built-in
NWAY. This chip was not supported in FreeBSD 3.2, but it is in 4.0
and later.

All of these cards should work with the dc driver in FreeBSD 4.0
and up. The LNE100TX version 4.0/4.1 cards with the ADMtek chip
are actually very good: they're fast, non-buggy and pretty cheap
(I saw them at Fry's recently for $19.95). I tested one recently
and was very pleased. I highly recommend them. Unfortunately, if
you have this card, it won't work with 3.2 without a little bit of
work. I do have a driver for FreeBSD 3.x at the following location:

http://www.freebsd.org/~wpaul/ADMtek/3.0

I haven't tested this in a while, but it should work. What you need
to do is this:

- Download if_al.c and if_alreg.h from the URL above.
- Copy them to /sys/pci on your system.
- Edit /sys/conf/files and add the following line:

pci/if_al.c		optional al device-driver

- Edit your kernel config file, e.g. /sys/i386/conf/GENERIC, and
  add the following line:

device al0

- config and compile a new kernel

Note that you must also have "controller pci0" in your kernel config
as well since this is a PCI adapter.

-Bill


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000822165123.9B27437B423>