[realtek] SMC1211TX Media Type Selection

Dohan dohanc@optonline.net
Mon Dec 24 02:08:00 2001


Hi, I have an SMC1211TX EZCard 10/100 connected to a hub with some windows
machines. I am having problems with switching the media type with mii-diag.
I had it working when I first installed it and then I tried switching it to
100mbit to find out that my hub is only 10mbit. Then I tried switching it
back and now it takes a few minutes to transfer a few meg. I want to change
it to whatever mode hex value of 0xf110 was (I think, if not what should I
change it to???). I have changed it to both 10baseT (0xf100) and 10baseT-FDX
(0xf101). Also, is there a table of these values somehwere. I can't find it
on the site.

Other stuff that I don't know if it will be helpful or not...

root@dohan:/home/dohan/rtl8139 > ./mii-diag -m

rtl8139-diag.c:v2.04 8/08/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a SMC1211TX EZCard 10/100 (RealTek RTL8139) adapter at
0x1400.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x782d.
   Basic mode status register    0x1100.
   Autonegotiation Advertisement 0x05e1.
   Link Partner Ability register 0x0000.
   Autonegotiation expansion     0x0000.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0005.
   Receive frame error count     0x0000.

root@dohan:/home/dohan/rtl8139 > ./mii-diag -aa

rtl8139-diag.c:v2.04 8/08/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a SMC1211TX EZCard 10/100 (RealTek RTL8139) adapter at
0x1400.
RealTek chip registers at 0x1400
 0x000: 4529e000 000055c8 a0000000 40300000 00002000 00002000 00002000
00002000
 0x020: 0bde4000 0bde4600 0bde4c00 0bde5200 0a5c0000 01000000 0000fff0
00000000
 0x040: 70000000 00000000 e724e401 00000000 000f1000 00000000 0000f108
00100000
 0x060: 1100000f 05e1782d 00000000 00000000 00000005 000f77c0 78fa8388
ad38de43.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x0f, MII half-duplex mode.