Bug 18790

Summary: rl driver transport type autodetection not working
Product: Base System Reporter: lucas <lucas>
Component: kernAssignee: danny <danny>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description lucas 2000-05-24 08:30:01 UTC
I had :
ifconfig_rl0="inet 192.168.1.253  netmask 255.255.255.0"
in /etc/rc.conf to configure my NIC. The NIC is connected to a 10mbps HUB, but stay in full-duplex mode (very low performances on the lan).
My NIC is a rtl8139 based one. I try with another rtl8139, and there was the same problem.

Fix: 

I had to specify the media type by hand :
ifconfig_rl0="inet 192.168.1.253  netmask 255.255.255.0 media 10baseT/UTP"
btw, there might be a documentation problem : it seems you can't force a card to use half-duplex when using 10baseT/UTP (with mediaopt).
How-To-Repeat: I don't know which NICs are affected.
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-06-02 09:58:00 UTC
Responsible Changed
From-To: freebsd-bugs->wpaul

Over to mr. NIC
Comment 2 silby freebsd_committer freebsd_triage 2002-03-08 20:10:22 UTC
State Changed
From-To: open->feedback

This bug should be fixed in 4.5-stable as of a few days ago. 
Please cvsup and see if the problem is gone. 


Comment 3 silby freebsd_committer freebsd_triage 2002-03-08 20:10:22 UTC
Responsible Changed
From-To: wpaul->danny

Danny committed the relevant fix, and will be closing these PRs 
if there is no feedback.
Comment 4 danny freebsd_committer freebsd_triage 2002-03-15 03:26:51 UTC
State Changed
From-To: feedback->closed

10 Mbps autoneg fixed with: 
1.6       +3 -18     src/sys/dev/mii/rlphy.c 
1.2.2.2   +3 -18     src/sys/dev/mii/rlphy.c