[realtek] DFE-530TX+ uses 10Mbps and half duplex (instead 100/full)

Donald Becker becker@scyld.com
Sun, 14 Jan 2001 15:35:06 -0500 (EST)


On Sun, 14 Jan 2001, Erik Steffl wrote:

>   I have D-Link DFE-530TX+ card, I am using the test driver from
> scyld.com (rtl8139.c version 1.13) (kernel 2.2.17, debian unstable). It
> is connected to another computer (Intel pro 100) via crossover cable.
> 
>   the rtl-diag program reports:

The 'mii-diag' output would be useful here, but we can see most of the
MII-like registers from this output.

> Index #1: Found a RealTek RTL8139 adapter at 0x6100.
>  0x060: 1000f00f 0101782d 00000000 00000000 00000005 000f77c0 58fab388
> ad38d843.

The MII registers are
1000 782d .... .... 0101 0000

You are advertising only 10baseT-HDX!  No wonder the link is at 10Mbps.

This should only happen in two cases:
  You use 'mii-diag' to force the media type.
  You pass a media type option to the driver.

The v1.13 driver should log the following message if the latter is the
case:
	printk(KERN_INFO "  Forcing %dMbs %s-duplex operation.\n",
		   (option & 0x20 ? 100 : 10),
		   (option & 0x10 ? "full" : "half"));
Read the driver detection message from 'dmesg'.


Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993