Subject: Re: 10/100 ethernet cards - followup
To: None <Donlee_ppc@icompute.com>
From: None <Havard.Eidnes@runit.sintef.no>
List: port-macppc
Date: 04/22/2000 11:38:14
> >you did not say which version of NetBSD you were trying to use
> >with the cards. If I'm not totally mistaken, the Lite-On PNIC
> >cards are supported by the new "tulip" (tlp) driver in -current.
>
> I'm running the vanilla 1.4.2 and/or 1.4.1 I've tried both.
> I have not tried running on -current.
OK. So the tlp(4) driver is out for the moment (it'll be in 1.5 when
that's released a little later this year). The config file for macppc
in 1.4.2 (/sys/arch/macppc/conf/GENERIC) lists the following ethernet
drivers:
de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
ep* at pci? dev ? function ? # 3Com 3c59x
ne* at pci? dev ? function ? # NE2000-compatible Ethernet
bm* at obio? # bmac ethernet
mc* at obio? # MACE ethernet
where the last two ones are on-board ethernet on these machines.
If you feel like it, you could test the epic driver (which is in the
source set for 1.4.2, but not enabled in the macppc GENERIC) with your
SMC Etherpower II, by adding
epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
and possibly the mii driver(s) required to make the card go, and
recompile your kernel. (It could be that this driver also has
endianness issues -- if you test it, we'll see.)
> >Ideally, the 3Com cards should work; there's a driver for them in
> >NetBSD -- ex(4). However, I can't say offhand if there are
> >endianness or bus_dma issues which prevents them from working
> >properly on the macppc.
> >
> >According to pci(4) on one of my 1.4.2 PCs, the SMC/Asante
> >ethernet card ought to be supported by the de(4) driver; the card
> >you have is at least listed in /sys/dev/pci/pcidevs (that doesn't
> >necessarily mean it's supported, though...).
>
> It looks like the lack of support may be due to the endianness
> issues, and the fact that they have not been tested on macppc.
As far as the ex(4) driver goes that's probably true. However, I'm
not sure I understand why your SMC/Asante ethernet card wasn't probed
by the de(4) driver (which is in your config). It could be that it's
a later-generation card which uses a clone chip unrecognized by the
de(4) driver.
> My kernel is "right out of the box". I'm not sure what's in it. ;->
If you have the kernel source set unpacked on your box you can see
what's enabled in /sys/arch/macppc/conf/GENERIC, and besides, I've
given you the relevant snippets above.
Regards,
- H=E5vard