Date: Fri, 29 Oct 1999 09:04:54 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_mx.c Message-ID: <199910291604.JAA77253@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 1999/10/29 09:04:54 PDT
Modified files: (Branch: RELENG_3)
sys/pci if_mx.c
Log:
Fix up the autonegotiation a little:
- Get rid of all 100baseT4 references; the Macronix chips don't really
support it, and we shouldn't give the autonegotiation code an opportunity
to select it as the current media when we haven't even ifmedia_add()ed
IFM_100_T4 as a valid selection.
- Change the non-MII autonegotiation routine to use the link partner
code word bits from CSR12 (10baseT status), which is the standard
DEC 21x4x way of detecting link partner ability instead of using the
Macronix-specific NWAY status register at CSR20.
This should fix problems with 98715A or 82c115 PNIC II chips (LinkSys
LNE100TX v2.0) incorrectly negotiationg 100baseT4 with some switches
or hubs and then crashing due to 100baseT4 not being a valid mode.
Problem found and fix tested by: Roger Hardiman <roger@cs.strath.ac.uk>
Revision Changes Path
1.8.2.9 +8 -73 src/sys/pci/if_mx.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910291604.JAA77253>
