Tulip Driver

Allan Lawrie allan.lawrie@unisys.com.nz
Fri Sep 3 17:07:38 1999


Using a Planet EN9501 (v2) card, full-duplex causes constant transmit
errors using the driver with kernel 2.2.12.

When I use Half-Duplex (options=3), it seems to run OK but there are
still errors.

The machine is an AMD K6-200, ASUS P2T4S m/b, should be enough to feed
the card.

I have several of the cards, so if there's nothing obviously wrong, I'll
try some other combinations.

tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
eth0: Digital DS21142/3 Tulip at 0xe000, 00 c0 ca 17 ef 84, IRQ 12.
eth0:  EEPROM default media type Autosense.
eth0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2)
block.
eth0:  Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY
(2) block.
eth0:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4)
block.
eth0:  Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY
(4) block.
eth0: Using user-specified media 100baseTx.
eth0: 21142 100baseTx link beat good.

nova:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:0.0.0.0  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:1434 dropped:24 overruns:0 carrier:0
coll:0

eth0      Link encap:Ethernet  HWaddr 00:C0:CA:17:EF:84
          inet addr:192.168.100.5  Bcast:192.168.100.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9857 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:28090065 dropped:18783 overruns:0
carrier:0 coll:0
          Interrupt:12 Base address:0xe000

nova:/usr/src# ./tulip-diag  -af
tulip-diag.c:v1.12 7/31/99 Donald Becker
(becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at
0xe000.
Digital DS21143 Tulip chip registers at 0xe000:
  f9a04800 ffffffff ffffffff 00d7c010 00d7c210 f0660000 b3862002
fbfffbff
  e0000000 ffffcbf8 ffffffff 00000000 000000c4 ffff0000 fff80000
8fff0000
 Port selection is 100mbps-SYM/PCS
100baseTx scrambler, 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.
  The NWay status register is 000000c4.
  Internal autonegotiation state is 'Autonegotiation disabled'.

nova:/usr/src# ./tulip-diag -e
tulip-diag.c:v1.12 7/31/99 Donald Becker
(becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at
0xe000.
 Port selection is 100mbps-SYM/PCS
100baseTx scrambler, 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.
  The NWay status register is 000000c4.
EEPROM size is 6.
Ethernet MAC Station Address 00:C0:CA:17:EF:84.
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 10baseT-Full Duplex, block type 2, length
6.
   Serial transceiver for 10baseT-Full Duplex (media
type 4).
    GP pin direction
08af  GP pin data
00a5.
  Media 100baseTx, block type 4, length
8.
   SYM transceiver for 100baseTx (media
type 3).
    GP pin direction
08af  GP pin data
00a5.
    No media
detection indication (command 80
61).
  Media 100baseTx Full Duplex, block type 4, length
8.
   SYM transceiver for 100baseTx Full Duplex (media
type 5).
    GP pin direction
08af  GP pin data
00a5.
    No media
detection indication (command 80
61).
  Internal autonegotiation state is 'Autonegotiation disabled'.


Allan.