[tulip] Re: Accton EN2242

Philippe Depouilly Philippe.Depouilly@math.u-bordeaux.fr
Mon, 06 Nov 2000 18:48:53 +0100


I tried to use the tulip-diag with libmii, i have this output :

The Vendor ID is wrong (the mac address begin with : 00:0d:59:...)....

The negociation seems to be ok...

Do you think it is possible to continue ?

Thank you,

Philippe.

[root@xe3 lan]# ./tulip-diag -mm -a
tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a EN2242 de Phil adapter at 0x1c00.
EN2242 de Phil chip registers at 0x1c00:
  fe590000 ffffffff ffffffff 00000000 00000000 fc00c810 ff970115 fffe4010
  fffe0000 fff597f8 00000000 fffe0000 00000000 00000200 00000000 c40ffec8
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
 Interrupt sources are pending!  CSR5 is fc00c810.
   Link passed indication.
   Timer expired indication.
   Early Rx indication.
 MII PHY found at address 1, status 0x786d.
 MII PHY found at address 2, status 0x786d.
 MII PHY found at address 3, status 0x786d.
 MII PHY found at address 4, status 0x786d.
 MII PHY #1 transceiver registers:
   3000 786d 0022 5410 01e1 0021 0004 2001
   ffff ffff ffff ffff ffff ffff ffff ffff
   01c0 0000 c199 8000 4f22 0304 0026 a3ae
   0000 c0bf 0000 ffff ffff ffff ffff ffff.
 Basic mode control register 0x3000: 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 00:08:95:--:--:--, model 1 rev. 0.
   Vendor/Part: ADMtek AN983 Comet.
 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 0021: 10baseT.
   Negotiation did not complete.
  ADMtek vendor specific registers information:
   Cable length is approximately 20 meters.
   The receiver has lost lock 41902 times since last check and had 41902
error events.
  TDK format vendor-specific registers 16..18 are 0x01c0 0x0000 0xc199
      Link polarity is detected as normal.
      Auto-negotiation complete, 10Mbps half duplex.
      Rx link in fail state, PLL slipped since last read.
      No new link status events.


Philippe Depouilly a écrit :

> Hello,
>
> I am a newbie in driver developpement, i have a laptop with a minipci
> EN2242 network card (HP omnibook XE3).
>
> The drivers under windows from Accton says : this driver works for
> EN1207F EN2220A and EN2242 because they have the EN2251 chip.
>
> I noticed that the tulip module works for EN1207 and EN2220.
>
> I doesn't work for the minpci EN2242. Does anybody think it is possible
> to make it work with the tulip module ?
>
> I'm ready to learn how to port the tulip to EN2242 if someone could help
> me a little bit.
>
> thank you for any help,
>
> Philippe.
>
> Ps : i tried to add an entry in the tulip_diag with the chipidx and i
> have this :
>
> I had this in the pcidev_tbl[] :
>
>   { "EN2242 de Phil", 0,
>  0x1113, 0x1216, 0xffff, 0, 128, tulip_diag },
>
> And i got this :
>
> [root@xe3 lan]# ./tulip-diag -aa -D -m
> tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
>  http://www.scyld.com/diag/index.html
> Index #1: Found a EN2242 de Phil adapter at 0x1c00.
> EN2242 de Phil chip registers at 0x1c00:
>   fe590000 ffffffff ffffffff 00000000 00000000 fc00c810 ff970115
> fffe4010
>   fffe0000 fff597f8 00000000 fffe0000 00000000 00000200 00000000
> c40ffec8
>  Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
>  Transmit stopped, Receive stopped, half-duplex.
>   The Rx process state is 'Stopped'.
>   The Tx process state is 'Stopped'.
>   The transmit threshold is 128.
>  Interrupt sources are pending!  CSR5 is fc00c810.
>    Link passed indication.
>    Timer expired indication.
>    Early Rx indication.
>  MII PHY found at address 1, status 0x786d.
>  MII PHY found at address 2, status 0x786d.
>  MII PHY found at address 3, status 0x786d.
>  MII PHY found at address 4, status 0x786d.
>  MII PHY #1 transceiver registers:
>    3000 786d 0022 5410 01e1 0021 0004 2001
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    01c0 0000 e199 8000 4f32 0304 0026 94db
>    0000 c0bf 0000 ffff ffff ffff ffff ffff.
>  MII PHY #2 transceiver registers:
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff.
>  MII PHY #3 transceiver registers:
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff.
>  MII PHY #4 transceiver registers:
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff
>    ffff ffff ffff ffff ffff ffff ffff ffff.
>
> Is this can help ?
>
> Thank you very much.