Bug 27722

Summary: 3C905TX / xl driver broken by mii bug
Product: Base System Reporter: wilko <wilko>
Component: kernAssignee: jlemon
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description wilko freebsd_committer freebsd_triage 2001-05-28 22:50:01 UTC
	Given mii/nsphy.c V1.8 in the kernel the 3COM cards do not
	autonegotiate anymore. Rather, they report 'no carrier'. 
	Manually forcing media to 10baseT/UTP does work. Manually forcing
	100baseTX does not work. In autonegotiate no link LEDs on the hub
	or the 3C905 are lit.

Fix: 

Revert to mii/nsphy.c V1.7 which does not 'enable some undocumented 
	bits' in the PHY chip. Apparantly this does work for fxp, but breaks
	xl on the 3C905-TX cards. 

	cvs log of mii/nsphy.c
	----------------------------
	revision 1.8
	date: 2001/03/16 14:17:02;  author: jlemon;  state: Exp;  lines: +9 -6
	Enable some undocumented bits in the DP83840 PHY, which is needed
	when using it with the Intel fxp driver.

	Tested by: peter, Ollivier Robert <roberto@eurocontrol.fr>,
	Peter Schultz <pete@jocose.org>
	----------------------------
How-To-Repeat: 
	See above
Comment 1 wilko freebsd_committer freebsd_triage 2001-05-28 22:53:37 UTC
Responsible Changed
From-To: freebsd-bugs->jlemon

Jonathan made the V1.7->V1.8 commit to nsphy.c and I assume/hope he can 
help fixing this one. I, for one, am not a network guy. Tnx.
Comment 2 Matthias Schuendehuette 2001-05-31 20:38:06 UTC
For 4.3-STABLE:

nsphy.c Revision 1.2.2.3 (MFC on May 14th, 2001) is broken for 'xl'
nsphy.c Revision 1.2.2.2 works.
-- 
***************************************************************************
* Matthias Schuendehuette   root@mscu.snafu.de  			  *
* Solmsstrasse 44							  *
* D-10961 Berlin	    Engineering Systems Support and Operation     *
* Germany		    @ BahnEngineering SystemTechnik GmbH, Berlin  *
***************************************************************************
Comment 3 wilko freebsd_committer freebsd_triage 2001-06-03 19:14:00 UTC
State Changed
From-To: open->closed

Bug is fixed.