v0.91 driver released for testing

Donald Becker becker@cesdis1.gsfc.nasa.gov
Sat Apr 17 11:31:59 1999


On Sat, 17 Apr 1999, David Godfrey wrote:

> I've got three 'Atrend ATC-2113T' cards that have problems with this
> (and previous) versions of the driver. The cards are 21143-PC based, I
> believe, and work fine with the v0.90p driver. They are connected to a
> Netgear FS104 10/100 switch.
...
> Apr 17 11:35:00 wang linux: tulip.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov
> Apr 17 11:35:00 wang linux: eth0: Digital DS21143 Tulip rev 48 at 0x9300, 00:E0:FD:00:07:9D, IRQ 9.
> Apr 17 11:35:00 wang linux: eth0:  EEPROM default media type Autosense.
> Apr 17 11:35:00 wang linux: eth0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
> Apr 17 11:35:00 wang linux: eth0:  Index #1 - Media MII 100baseT4 (#15) described by a 21142 Serial PHY (2) block.

Is this correct?  Is the card T4-capable?  That doesn't seem very likely.
This is almost certainly an error is the EEPROM media table.

> Apr 17 11:35:12 wang linux: eth0: 21140 transmit timed out, status f0260000, SIA 41e1d2ce ffff0001 fffbffff 8ff0c008, resetting...
> Apr 17 11:35:12 wang linux: eth0: transmit timed out, switching to MII 100baseT4 media.

Load the module with "debug=3" to see the gory details of the media
selection.  The 21143 section has *lots* of messages (too many!  it's big)
specifically to help track down problems.

I believe that this problem wouldn't occur if the MII transceiver wasn't
listed in the media table.  Since the driver cannot read the management
registers (it likely doesn't exist!), it must assume that the transceiver
has link beat.

> tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> Index #1: Found a Digital DS21143 Tulip adapter at 0x9300.
> Ethernet MAC Station Address 00:E0:FD:00:07:9D.
> EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
> Leaf node at offset 30, default media type 0800 (Autosense).
>  4 transceiver description blocks:
>   Media 10baseT, block type 2, length 6.
>    Serial transceiver for 10baseT (media type 0).
>     GP pin direction 08af  GP pin data 00a5.
>   Media MII 100baseT4, block type 2, length 6.
>    Serial transceiver for MII 100baseT4 (media type 255).
>     CSR13 08ff  CSR14 00a5  CSR15 0488.

It appears that one word the EEPROM has been erased!
  (Note: 0xffff, 255 255, is erased, not 0000.)

Do all of the cards show this problem?

Donald Becker					  becker@cesdis.gsfc.nasa.gov
USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center,  Greenbelt, MD.  20771
301-286-0882	     http://cesdis.gsfc.nasa.gov/people/becker/whoiam.html