Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2001 23:51:13 +0200 (CEST)
From:      wilko@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/27722: 3C905TX / xl driver broken by mii bug
Message-ID:  <200105282151.f4SLpDB00595@freebie.demon.nl>

next in thread | raw e-mail | index | archive | help

>Number:         27722
>Category:       kern
>Synopsis:       3C905TX / xl driver broken by mii bug
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 28 14:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Wilko Bulte
>Release:        FreeBSD 4-STABLE i386
>Organization:
Private FreeBSD site - The Netherlands
>Environment:

	3Com 3c905-TX Fast Etherlink XL ethernet card is needed. 

	System / mainboard is not relevant, observed on both a 750Mc
	Abit Athlon and a Asus P75. Ethernet card is connected to a 
	Linksys 10/100 mbit hub. Lacking an ethernet switch I could not test
	that variation. This is not a hardware problem, it occurs on
	multiple cards in different systems.

May 28 22:21:59 freebie /kernel: xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xe000-0xe03f irq 10 at device 13.0 on pci0
May 28 22:21:59 freebie /kernel: xl0: Ethernet address: 00:60:08:09:b7:41
May 28 22:21:59 freebie /kernel: miibus0: <MII bus> on xl0
May 28 22:21:59 freebie /kernel: nsphy0: <DP83840 10/100 media interface> on miibus0
May 28 22:21:59 freebie /kernel: nsphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

>Description:

	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.

>How-To-Repeat:

	See above        

>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>
	----------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105282151.f4SLpDB00595>