[tulip] Accton EN2242

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


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.