[vortex] 3c905c 10Mb duplex queries

Richard Scobie richard@sauce.co.nz
Sun Feb 23 14:01:02 2003


Donald Becker wrote:

 >> RX packets:117503 errors:0 dropped:0 overruns:1 frame:0
 >> TX packets:14117 errors:0 dropped:0 overruns:0 carrier:14109
 >
 >What driver version are you using?
 >You can verify that the driver you are using actually sets the full
 >duplex bit by running 'vortex-diag -a'.

I am using your driver dated 18 Feb 01 from the 2.2.23 kernel.

These are the vortex-diag stats when set to half duplex:

Index #3: Found a 3c905C Tornado 100baseTx adapter at 0xe800.
  Station address 00:04:75:d5:28:ac.
   Receive mode is 0x0f: Promiscuous.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 7, registers values by window:
   Window 0: 0000 0000 0000 0000 adad 00bf ffff 0000.
   Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
   Window 2: 0400 d575 ac28 0000 0000 0000 0052 4000.
   Window 3: 0000 0180 05ea 0000 000a 0800 0800 6000.
   Window 4: 0000 0000 0000 0ccc 0001 8880 0100 8000.
   Window 5: 1ffc 0000 0000 0600 080f 06ce 06c6 a000.
   Window 6: 0000 0000 0000 a900 0000 5475 0000 c000.
   Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xe800
   0xE810: **FIFO** 00000000 0000000a *STATUS*
   0xE820: 00000020 00000000 00080000 00000004
   0xE830: 00000000 3861c79f 0b44b050 00080004
   0xE840: 00a4ae84 00000000 000000b7 00000000
   0xE850: 00000000 00000000 00000000 00000000
   0xE860: 00000000 00000000 00000000 00000000
   0xE870: 00009000 00000000 00200160 00000100
   DMA control register is 00000020.
    Tx list starts at 00000000.
    Tx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to 
empty.
    Rx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to 
full.
    Poll period Tx 00 ns.,  Rx 0 ns.
    Maximum burst recorded Tx 352,  Rx 32.
  Indication enable is 06c6, interrupt enable is 06ce.
  No interrupt sources are pending.
  Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
  MAC settings: half-duplex.
  Station address set to 00:04:75:d5:28:ac.
  Configuration options 0052.


And these are the stats when set to full duplex:

Index #3: Found a 3c905C Tornado 100baseTx adapter at 0xe800.
  Station address 00:04:75:d5:28:ac.
   Receive mode is 0x0f: Promiscuous.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 7, registers values by window:
   Window 0: 0000 0000 0000 0000 adad 00bf ffff 0000.
   Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
   Window 2: 0400 d575 ac28 0000 0000 0000 0052 4000.
   Window 3: 0000 0180 05ea 0000 000a 0800 0800 6000.
   Window 4: 0000 0000 0000 0ccc 0001 8880 0000 8000.
   Window 5: 1ffc 0000 0000 0600 080f 06ce 06c6 a000.
   Window 6: 0000 0000 0000 2100 0000 083e 0000 c000.
   Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xe800
   0xE810: **FIFO** 00000000 0000000a *STATUS*
   0xE820: 00000020 00000000 00080000 00000004
   0xE830: 00000000 0bedf413 0b44b1c0 00080004
   0xE840: 00b56053 00000000 000000b7 00000000
   0xE850: 00000000 00000000 00000000 00000000
   0xE860: 00000000 00000000 00000000 00000000
   0xE870: 00009000 00000000 00200160 00000100
   DMA control register is 00000020.
    Tx list starts at 00000000.
    Tx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to 
empty.
    Rx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to 
full.
    Poll period Tx 00 ns.,  Rx 0 ns.
    Maximum burst recorded Tx 352,  Rx 32.
  Indication enable is 06c6, interrupt enable is 06ce.
  No interrupt sources are pending.
  Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
  MAC settings: half-duplex.
  Station address set to 00:04:75:d5:28:ac.
  Configuration options 0052.


It would seem that although register values are changed, the tranceiver 
is staying in half duplex.

Many thanks for your input.

Richard Scobie