[vortex-bug] 3Com 920 ST03

Donald Becker becker@scyld.com
Tue, 17 Jul 2001 08:32:20 -0400 (EDT)

On Tue, 17 Jul 2001, Bogdan Costescu wrote:
> On Mon, 16 Jul 2001, Noyer Gilles wrote:
> >   I have a PC HP VL400 with the new 3Com 920-ST03 network card.
> >   The card is recognised But the is two MII transiver at adress 1 and 2 with
> > status 24
> >   it seem the last driver can't recognise well this card.
> > ...
> >   I user the driver version 0.99Qk of 7/5/2000

Please try 0.99T in the 'test' directory.
> This driver is not so new... We decided that it's better to first test the
> address 24 to avoid these spurious detections; this is not implemented in
> the driver version that you mention. I looked for an updated driver from
> Don and even in 0.99Rb I couldn't find this change. So you'll have to use
> the driver that is distributed with the kernel; the driver in 2.2.19,
> 2.4.3 and newer kernels has this code.

I've implemented two additional fixes to this problem:
     Limit the RxReset and TotalReset so that it doesn't reset the
     Detect transceivers with 
	if ((mii_status & 0xf800)  &&  mii_status != 0xffff) {
	if (mii_status  &&  mii_status != 0xffff) {

Take note of the first fix.  It keeps the 3c905C from resetting the
transceiver with every open.  DHCP clients rapidly cycle the interface
up and down, and the cycling link beat that can cause the first few
packets to be dropped or permanently confuse some switches.

The second fix allows a normal scan order, even if the transceiver is
responding with bogus data at some addresses.

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993