D-Link DFE 570-TX

Robert Olsson Robert.Olsson@data.slu.se
Fri May 21 16:00:41 1999


Donald Becker writes:

 > What does 'mii-diag' report?  Does it find the transceiver correctly?

Hello!

Here are some selected debugging info. Three different setup's:
1) Link partner in Auto -- 570-TX in Auto
2) Link partner in Auto -- 570-TX in MII 100baseTx-FD
3) Link partner is locked at 100 FDX -- 570-TX in MII 100baseTx-FD



tulip.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov

//////////////////////////////////////////////////////////////////////////////
1) Link partner in Auto -- 570-TX in Auto

insmod tulip debug=2 
====================
eth2: Digital DS21143 Tulip rev 65 at 0xc800, 00:80:C8:4E:F4:38, IRQ 14.
eth2:  EEPROM default media type Autosense.
eth2:  MII interface PHY 0, setup/reset sequences 0/0 long, capabilities e0 78.
eth2:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
eth2:  Advertising 01e1 on PHY 0 (0).
eth2: Using media type MII, CSR12 is c6.
eth2:  MII transceiver #1 config 3100 status 786d advertising 0101.
eth2:  Advertising 01e1 on PHY 1, previously advertising 0101.

ifconfig eth2 10.1.1.2
====================== 

mii-diag eth2 -v 
================

mii-diag.c:v1.04 12/17/98  Donald Becker (becker@cesdis.gsfc.nasa.gov)
 MII PHY #1 transceiver registers:
   3100 786d 2000 5c10 01e1 41e1 0005 2801
   0000 0000 0000 0000 0000 0000 0000 0000
   0a25 0000 0000 0000 0000 0000 0020 0000
   0080 0001 00a3 0100 0006 0f00 0000 0000.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 Basic mode status register 0x786d ... 786d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 08:00:17:--:--:--, model 1 rev. 0.
   No specific information is known about this transceiver type.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.

tulip-diag -#2 -m
=================
tulip-diag.c:v1.08 2/28/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #2: Found a Digital DS21143 Tulip adapter at 0xc800.
 Port selection is MII, full-duplex.
 Transmit started, Receive started, full-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 1, status 0x786d.
  Internal autonegotiation state is 'Autonegotiation disabled'.


//////////////////////////////////////////////////////////////////////////////
2) Link partner in Auto -- 570-TX in MII 100baseTx-FD

insmod tulip.o debug=2 options=0,14
===================================

eth2: Digital DS21143 Tulip rev 65 at 0xc800, 00:80:C8:4E:F4:38, IRQ 14.
eth2:  EEPROM default media type Autosense.
eth2:  MII interface PHY 0, setup/reset sequences 0/0 long, capabilities e0 78.
eth2:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
eth2:  Advertising 0101 on PHY 0 (0).
eth2: Using media type MII, CSR12 is c6.
eth2:  MII transceiver #1 config 3100 status 786d advertising 0101.

ifconfig eth2 10.1.1.2 
======================
eth2: tulip_open() irq 14.
eth2: Using user-specified media MII 100baseTx-FD.

tulip-diag -#2 -m
=================
tulip-diag.c:v1.08 2/28/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #2: Found a Digital DS21143 Tulip adapter at 0xc800.
 Port selection is 10mpbs-serial, 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 72.
 MII PHY found at address 1, status 0x786d.
  Internal autonegotiation state is 'Autonegotiation disabled'.

mii-diag eth2 -v 
=================
mii-diag.c:v1.04 12/17/98  Donald Becker (becker@cesdis.gsfc.nasa.gov)
 MII PHY #1 transceiver registers:
   3100 786d 2000 5c10 0101 41e1 0005 2801
   0000 0000 0000 0000 0000 0000 0000 0000
   0a25 0000 0000 0000 0000 0000 0020 0000
   0080 0001 00a3 0100 0006 0f00 0000 0000.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 Basic mode status register 0x786d ... 786d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 08:00:17:--:--:--, model 1 rev. 0.
   No specific information is known about this transceiver type.
 I'm advertising 0101: 100baseTx-FD
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.


//////////////////////////////////////////////////////////////////////////////
3) Link partner is locked at 100 FDX -- 570-TX in MII 100baseTx-FD

mii-diag eth2 -v 
================
mii-diag.c:v1.04 12/17/98  Donald Becker (becker@cesdis.gsfc.nasa.gov)
 MII PHY #1 transceiver registers:
   3100 7849 2000 5c10 0101 0081 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0200 0000 0000 0000 0000 0000 0020 0000
   0000 0001 00a3 0100 0006 0f00 0000 0000.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 Basic mode status register 0x7849 ... 7849.
   Link status: not established.
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 08:00:17:--:--:--, model 1 rev. 0.
   No specific information is known about this transceiver type.
 I'm advertising 0101: 100baseTx-FD
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0081: 100baseTx.
   Negotiation did not complete.

tulip-diag -#2 -m
=================
tulip-diag.c:v1.08 2/28/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #2: Found a Digital DS21143 Tulip adapter at 0xc800.
 Port selection is 10mpbs-serial, 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 72.
 MII PHY found at address 1, status 0x7849.
  Internal autonegotiation state is 'Autonegotiation disabled'.



						--ro