Subject: Re: tulip driver documentation
To: Greg Wohletz <greg@duke.CS.UNLV.EDU>
From: Andrew Gillham <gillhaa@ghost.whirlpool.com>
List: port-i386
Date: 01/11/1998 00:23:38
> 
> Yea, I've looked at the ifconfig man page.
> 
> ifconfig -m de0 reports the following:
> de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> 	media: 100baseTX status: no carrier
> 	supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
> 	inet 131.216.18.2 netmask 0xffffff00 broadcast 131.216.18.255
> 
> 
> However no combination of options that I can think of will select
> 100BaseTX <full-duplex>
> 
> I've tried ``ifconfig de0 media '100baseTX <full-duplex>'  I've tried using
> mediaopts, etc.  can't seem to come up with the correct incantation.
> 
> 							--Greg

My /etc/ifconfig.de0 looks like this:
inet shadow netmask 255.255.255.0 media 100basetx mediaopt full-duplex

The output of dmesg shows:
...
de0 at pci0 dev 15 function 0
de0: interrupting at irq 9
de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.1
de0: address 00:00:c0:00:53:bf
de0: enabling 100baseTX port
...
boot device: sd0
root on sd0a dumps on sd0b
de0: enabling 100baseTX port
de0: enabling Full Duplex 100baseTX port

The last 2 lines are a result of the ifconfig.  I'm not sure why the
card is not autonegotiating 100Mbps full-duplex.  Perhaps the 'de' driver
doesn't implement NWAY exactly right?  

-Andrew
-- 
-----------------------------------------------------------------
Andrew Gillham                            | This space left blank
gillham@whirlpool.com                     | inadvertently.
I speak for myself, not for my employer.  | Contact the publisher.