[vortex] 3C905CX-TXM

Liam M. Healy fsb@healy.washington.dc.us
Sun, 14 Jan 2001 23:25:00 -0500


Recently I purchased a Dell Dimension L700cx and attempted to install
Debian 2.2r2 with Linux kernel 2.2.18pre21.  This computer has a 3Com
NIC which has "3C905CX-TXM" silkscreened above the barcode.  Despite
the name, the existing 3c59x drivers, which are supposed to work with
the 3c905 series, do not work with this card as-is.  I found the
solution posted to this mailing list 
http://www.scyld.com/pipermail/vortex/2000-December/000858.html
Specifically, from ftp://ftp.scyld.com/pub/network/3c59x.c 
"3c59x.c:v0.99Qk 7/5/2000 Donald Becker, becker@scyld.com"
make the following changes:

893d892
< 		/* LMH changed per http://www.scyld.com/pipermail/vortex/2000-December/000858.html */
895c894
< 		mdio_sync(ioaddr, 32);
---
> 		mii_preamble_required++;
897,904c896,897
< 		for (phy = 0; phy < 32 && phy_idx < 1; phy++) {
< 			int mii_status, phyx = (phy == 0 ? 24 : phy == 24 ? 0 : phy);
< 			/*	mii_preamble_required++;
< 				mii_preamble_required++;
< 				mdio_read(ioaddr, 24, 1);
< 				for (phy = 1; phy <= 32 && phy_idx < sizeof(vp->phys); phy++) {
< 				int mii_status, phyx = phy & 0x1f;
< 			*/
---
> 		for (phy = 1; phy <= 32 && phy_idx < sizeof(vp->phys); phy++) {
> 			int mii_status, phyx = phy & 0x1f;
1168,1170c1161
<     /* LMH changed per http://www.scyld.com/pipermail/vortex/2000-December/000858.html */
< 	for (i = 50000; i >= 0 ; i--)
< 		/* for (i = 2000; i >= 0 ; i--)  */
---
> 	for (i = 2000; i >= 0 ; i--)

This will make the card function.

Liam Healy