Re: Auto-negotiation on 3c595

Franck Collins <[email protected]> Thu, 29 Apr 2004 14:55:53 +0200
Newsgroups gmane.linux.drivers.vortex.devel
Message-ID <[email protected]>
Le jeudi 29 Avril 2004 14:23, Bogdan Costescu a écrit :
> On Thu, 29 Apr 2004, Franck Collins wrote:
> > Well, I've 2 cards 3c595, I've compiled and installed the driver
> > v0.99Zc. The cards are ok but the auto-negotiation is disabled.
>
> Please show us the messages that the driver logs when it starts. Also,
> please download vortex-diag from ftp://ftp.scyld.com/pub/diag/,
> compile it and send us the output from it.

Here is the dmesg when I load the module (insmod 3c59x.o debug=9)

3c59x.c:v0.99Zc 12/15/2003 Donald Becker, [email protected]
  http://www.scyld.com/network/vortex.html
eth0: 3Com 3c595 Vortex 100baseTx at 0xe800,  00:a0:24:9d:50:af, IRQ 11
  Internal config register is 0102001b, transceivers 0xe10a.
  64K buffer 1:1 Rx:Tx split, autoselect/10baseT interface.
  ***WARNING*** No MII transceivers found!
eth1: 3Com 3c595 Vortex 100baseTx at 0xec00,  00:a0:24:9d:50:d3, IRQ 10
  Internal config register is 0102001b, transceivers 0xe10a.
  64K buffer 1:1 Rx:Tx split, autoselect/10baseT interface.
  ***WARNING*** No MII transceivers found!
eth0: Initial media type Autonegotiate half-duplex.
eth0: MII #24 status ffff, link partner capability ffff, setting half-duplex.
eth0: vortex_open() irq 11 media status 88c0.
eth1: Initial media type Autonegotiate half-duplex.
eth1: MII #24 status ffff, link partner capability ffff, setting half-duplex.
eth1: vortex_open() irq 10 media status 8880.
eth0: Media selection timer tick happened, Autonegotiate half duplex.
eth0: MII transceiver has status ffff.
eth0: Media selection timer finished, Autonegotiate.
eth1: Media selection timer tick happened, Autonegotiate half duplex.
eth1: MII transceiver has status ffff.
eth1: Media selection timer finished, Autonegotiate.
eth0: no IPv6 routers present
eth1: no IPv6 routers present

And here is the vortex-diag -m :

vortex-diag.c:v2.16 1/12/2004 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a 3Com 3c595 Vortex 10/100baseTx adapter at 0xe800.
 Station address 00:a0:24:9d:50:af.
  Receive mode is 0x07: Normal unicast and all multicast.
 ***WARNING***: No MII transceivers found!
Index #2: Found a 3Com 3c595 Vortex 10/100baseTx adapter at 0xec00.
 Station address 00:a0:24:9d:50:d3.
  Receive mode is 0x07: Normal unicast and all multicast.
 ***WARNING***: No MII transceivers found!

And vortex-diag -a :

vortex-diag.c:v2.16 1/12/2004 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a 3Com 3c595 Vortex 10/100baseTx adapter at 0xe800.
 Station address 00:a0:24:9d:50:af.
  Receive mode is 0x07: Normal unicast and all multicast.
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 0000 00bf 0000 0000.
  Window 1: FIFO FIFO 0000 2000 8000 00ff 7ffc 2000.
  Window 2: a000 9d24 af50 0000 0000 0000 00de 4000.
  Window 3: 001b 0102 0000 0000 e10a 7fff 7fff 6000.
  Window 4: 0000 00d2 0000 0c80 0001 88c0 1000 8000.
  Window 5: 1ffc 1ffc 00de 1ffc 0007 02de 00de a000.
  Window 6: 0000 0000 0000 0b00 1000 0403 2b89 c000.
  Window 7: 0000 0000 0000 0000 8000 00ff 0000 e000.
Vortex chip registers at 0xe800
  0xE810: **FIFO** 00000000 00008000 *STATUS*
 Indication enable is 00de, interrupt enable is 02de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  10baseT.
 MAC settings: half-duplex.
Maximum packet size is 0.
 Station address set to 00:a0:24:9d:50:af.
 Configuration options 00de.
Index #2: Found a 3Com 3c595 Vortex 10/100baseTx adapter at 0xec00.
 Station address 00:a0:24:9d:50:d3.
  Receive mode is 0x07: Normal unicast and all multicast.
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 0000 00bf 0000 0000.
  Window 1: FIFO FIFO 0000 2000 8000 0033 7f58 2000.
  Window 2: a000 9d24 d350 0000 0000 0000 00de 4000.
  Window 3: 001b 0102 0000 0000 e10a 7fff 7f5b 6000.
  Window 4: 0000 00d2 0000 0e80 0001 98a0 0000 8000.
  Window 5: 1ffc 1ffc 00de 1ffc 0007 02de 00de a000.
  Window 6: 0000 0100 0000 1d00 0000 077a 14c2 c000.
  Window 7: 0000 0000 0000 0000 8000 00ff 0000 e000.
Vortex chip registers at 0xec00
  0xEC10: **FIFO** 00000000 00008000 *STATUS*
 Indication enable is 00de, interrupt enable is 02de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  10baseT.
 MAC settings: half-duplex.
Maximum packet size is 0.
 Station address set to 00:a0:24:9d:50:d3.
 Configuration options 00de.

Thx for your help !
Franck
_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex