Subject: Re: de(4)
To: None <ckane@best.com>
From: None <Havard.Eidnes@runit.sintef.no>
List: port-i386
Date: 11/19/1998 10:48:20
> [...]
> But if I manually select 100basetx, things go awry:
>
> SMDLS5! root -> ifconfig de3 media 100basetx
> SMDLS5! root -> Nov 18 15:46:42 smdls5 /netbsd: de3: enabling 100baseTX port
> Nov 18 15:46:45 smdls5 /netbsd: de3: link down: cable problem?
>
> I have to specify "autoselect" for the card to work correctly:
>
> SMDLS5! root -> ifconfig de3
> de3: flags=3D8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         media: Ethernet 100baseTX
>         status: no carrier
>         inet 143.183.34.219 netmask 0xffffff00 broadcast 143.183.34.0
> SMDLS5! root -> ifconfig de3 media autoselect
>
> Trying to do "ifconfig de3 media 100basetx mediaopt
> full-duplex" gives the same results.

Well, what can I say?  It works for me.  I do note that you have
a 21140A pass 2.2 chip, whereas I have a 21140 pass 1.1 chip.
I don't know whether that is sufficient to cause the difference.

> The cards I have are Adaptec Cogent Quartet Series
> ANA-6944A/TX, with one DC1040F chip, and four each of DEC
> 21140-AE, NS DP83840AVCE, and NS DP83223V, if it matters.

Hm, I find the NS 83840 in /sys/dev/mii/miidevs, so it appears to be
an "external MII chip".  From cursory reading of the includes in
/sys/dev/pci/if_de.c, it appears that the "mii" code (or headers) is
only pulled in in the BSDI version of the driver.  This may be what
is causing you your problems.  I do however admit that I'm only
guessing at this point.

- H=E5vard