[tulip] strange speed&duplex? (accton en 2242)

Erik Steffl steffl@bigfoot.com
Tue, 10 Apr 2001 22:15:54 -0700

  how do I verify the speed & HD/FD of tulip card (accton en2242). AFAIK
it's capable of full duplex 100Mbps, but it only show half duplex and I
have no idea what speed is. Is there any way to verify? some network
benchmarks that would measure real performance?

  here's what I get from diag tools:

# lspci
00:10.0 Ethernet controller: Accton Technology Corporation: Unknown
device 1216 (rev 11)

# ./mii-diag 
Using the default interface 'eth0'.
Basic registers of MII PHY #1:  1000 786d 0022 5410 01e1 40a1 0005 2801.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 40a1: 100baseTx 10baseT.

# ./tulip-diag 
tulip-diag.c:v2.07 3/31/2001 Donald Becker (becker@scyld.com)
Index #1: Found a Accton EN1217/EN2242 (ADMtek Comet) adapter at 0x1c00.
 Comet duplex is reported in the MII status registers.
 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.
  Comet MAC address registers 0759d000 fffff49e
  Comet multicast filter 0000000040000000.
 Use '-a' or '-aa' to show device registers,
     '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.

  none of these report speed... is the half-duplex reliable? I think it
wasn't on other tulip based card (LNE100TX). I have also tried various
command line options but it didn't return any information I would
understand. I checked the info on scyld.com web page but it does not
offer any detials on this...