[vortex] RE: 3c905CX with 2.2.18

Orion orion@home.nl
Wed, 27 Dec 2000 13:20:16 +0100


Everything is working now ... ping and link beat.

I have a 3C905CX-TX-M card from 11/9/2000 division H, product E2 in a
Supermicro 370SWM (i810) board with Debian 2.2r2 using kernel 2.2.18 and
3c59x driver v0.99Qk.

Changed i from 2000 to 50000 in (from 3c59x.c in the middle somewhere):

outw(RxReset, ioaddr + EL3_CMD);
	/* Wait a few ticks for the RxReset command to complete. */
	for (i = 50000; i >= 0 ; i--)
		if ( ! (inw(ioaddr + EL3_STATUS) & CmdInProgress))
			break;

And changed:

	EL3WINDOW(4);
	mii_preamble_required++;
	mdio_sync(ioaddr, 32);
	mdio_read(ioaddr, 24, 1);
	for (phy = 0; phy < 32 && phy_idx < 1; phy++) {
		int mii_status, phyx = (phy == 0 ? 24 : phy == 24 ? 0 : phy);

I found the EL3WINDOW(4) information in:

http://www.scyld.com/pipermail/vortex/2000-December/000842.html


Thanx for all the info.


Remy Cool