[tulip] Full-Duplex not working on older lne100tx

Erik Myllymaki erikm@islandnet.com
Wed, 18 Oct 2000 15:39:15 -0700


>> eth0: Lite-ON 82c168 PNIC rev 17 at 0xda00, <mac address>,IRQ 5

>That's likely a SYM transceiver, but you should run the 'tulip-diag
-afm'
>program to verify.

Just used the tulip-diag:

tulip-diag.c:v2.04 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Lite-On 82c168 PNIC adapter at 0xda00.
Lite-On 82c168 PNIC chip registers at 0xda00:
  00008000 01ff0000 00004000 00003810 00003a10 06660010 01862202
0001fbef
  00000000 00000000 00003af0 0f61d068 0000003f 00000000 00000000
10000000
  00000000 00000000 ffff0002 000000bf 09f989f0 00003880 0f5f4010
2001f868
  00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
 MII PHY found at address 1, status 0x8210.
 MII PHY found at address 2, status 0x8410.
 MII PHY found at address 3, status 0x8610.
 MII PHY found at address 4, status 0x8810.
 MII PHY #1 transceiver registers:
   8200 8210 8220 8230 8240 8250 8260 8270
   8280 8290 82a0 82b0 82c0 82d0 82e0 82f0
   8300 0000 8320 8330 8340 8350 8360 8370
   8380 0000 83a0 83b0 83c0 83d0 83e0 83f0.
 MII PHY #2 transceiver registers:
   8400 0000 8420 8430 8440 8450 8460 8470
   8480 0000 84a0 84b0 84c0 84d0 84e0 84f0
   8500 8510 8520 8530 8540 8550 8560 8570
   8580 8590 85a0 85b0 85c0 85d0 85e0 85f0.
 MII PHY #3 transceiver registers:
   8600 0000 8620 8630 8640 8650 8660 8670
   8680 8690 86a0 86b0 86c0 86d0 86e0 86f0
   8700 0000 8720 8730 8740 8750 8760 8770
   8780 8790 87a0 87b0 87c0 87d0 87e0 87f0.
 MII PHY #4 transceiver registers:
   8800 0000 8820 8830 8840 8850 8860 8870
   8880 0000 88a0 88b0 88c0 88d0 88e0 88f0
   8900 8910 8920 8930 8940 8950 8960 8970
   8980 8990 89a0 89b0 89c0 89d0 89e0 89f0.

?? Says that it is in full-duplex mode, yet my switch says otherwise. ??

On another note, I tried to compile my kernel with the latest tulip.c.
Fixed the *buglet* at line 131 after running into some unresolved symbol
errors, now I get *undefined reference to pci_drv_register*. I have
downloaded pci-scan.* and put them in the drivers/net directory with
tulip.c. Any other suggestions?

Thanks for your time,

Erik Myllymaki
erik@pacific-shores.com