Problems with 21143-TD and LXT970ATC

B. James Phillippe bryan@terran.org
Wed Aug 25 19:10:33 1999


Hello,

I have a board which has a DC21143-TD MAC and LXT970ATC LevelOne PHY w/MII,
which is not usable with any version of the tulip driver.  I'm currently
working with 91g.  The device is detected, but it seems the PHY is not
being initialized or woken up.  The symptom is an error-free detection
(until you try to transmit), and a solidly lit ACT LED and blinking 10/100
LED.  Here is some information:

Aug 25 16:03:12 kernel: Found Digital DS21143 Tulip at PCI I/O address 0xfc00. 
Aug 25 16:03:12 kernel: tulip.c:v0.91g 7/16/99 becker@cesdis.gsfc.nasa.gov 
Aug 25 16:03:12 kernel: eth1: Digital DS21143 Tulip rev 65 at 0xfc00, 00:90:7F:00:00:78, IRQ 10. 
Aug 25 16:03:12 kernel: eth1:  EEPROM default media type Autosense. 
Aug 25 16:03:12 kernel: eth1:  MII interface PHY 0, setup/reset sequences 2/2 long, capabilities 0f 08. 
Aug 25 16:03:12 kernel: eth1:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block. 
Aug 25 16:03:12 kernel: eth1:  Advertising 01e1 on PHY 0 (0). 
Aug 25 16:03:12 kernel: eth1: Using media type MII, CSR12 is c6. 
Aug 25 16:03:12 kernel: eth1:  MII transceiver #31 config 3000 status 7809 advertising 01e1. 
Aug 25 16:03:17 kernel: eth1: tulip_open() irq 10. 
Aug 25 16:03:17 kernel: eth1:  Advertising 01e1 on PHY 0 (31). 
Aug 25 16:03:17 kernel: eth1: Using media type MII, CSR12 is c6. 
Aug 25 16:03:17 kernel: eth1: Using MII transceiver 31, status 7809. 
Aug 25 16:03:17 kernel: eth1: Done tulip_open(), CSR0 f8a08000, CSR5 f0660000 CSR6 b20e2002. 
Aug 25 16:03:20 kernel: eth1: 21143 negotiation status 000000c6, MII. 
Aug 25 16:03:20 kernel: eth1: MII status 7829, Link partner report 40a1. 
Aug 25 16:04:20 kernel: eth1: 21143 negotiation status 000000c6, MII. 
Aug 25 16:04:20 kernel: eth1: MII status 7809, Link partner report 0000. 
Aug 25 16:04:20 kernel: eth1: No link beat on the MII interface, status 7809. 

tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #3: Found a Digital DS21143 Tulip adapter at 0xfc00.
Digital DS21143 Tulip chip registers at 0xfc00:
  f8a08000 ffffffff ffffffff 00fdb028 00fdb228 f0660000 b20e2002 fbfffbff
  e0000000 fffd83ff ffffffff 00000000 000000c6 ffff0000 fff80000 8fff0000
 Port selection is MII, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #3: Found a Digital DS21143 Tulip adapter at 0xfc00.
 Port selection is MII, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
 MII PHY found at address 31, status 0x7809.
 MII PHY #31 transceiver registers:
   3000 7809 7810 0003 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 4000 0000 07fb 0010 0000 0002
   0001 0000 0000 0000 0000 0000 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.
tulip-diag.c:v1.10 4/12/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #3: Found a Digital DS21143 Tulip adapter at 0xfc00.
 Port selection is MII, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
EEPROM contents:
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0104 9000 007f 7800 1e00 0000 0800
  9501 0003 0f02 0f08 0200 080f 000f 7800
  01e0 5000 1800 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 ced4
 ID CRC 0xe3 (vs. 00), complete CRC d48cd1a9.
Ethernet MAC Station Address 00:90:7F:00:00:78.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 21.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 2 words: 080f 000f.
   21143 MII reset sequence is 2 words: 080f 000f.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
 MII PHY found at address 31, status 0x7809.
 MII PHY #31 transceiver registers:
   3000 7809 7810 0003 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 4000 0000 0069 0010 0000 0002
   0001 0000 0000 0000 0000 0000 0000 0000.

Any ideas?

-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan