ethtool not working on tg3, but OK on bcm5700

Choo Zhi Min <[email protected]> Tue, 23 Dec 2003 13:02:19 +0800
Newsgroups gmane.linux.drivers.broadcom.devel
Message-ID <opr0max5suvxu3hn@localhost>
Hi,

On a Dell PE2650 with NetXtreme BCM5703 Gigabit Ethernet, running tg3 
driver, "ethtool eth0" shows half duplex after bootup, even the router is 
full duplex (FD).

"ethtool -s eth0 speed 100 duplex full autoneg off" has no effect, 
"ethtool eth0" still shows half duplex.
"mii-tool -F 100baseTx-FD eth0" will cause "mii-tool eth0" to show FD, but 
"ethtool eth0" still shows half duplex.
Passing -R and/or -r switch to ethtool and mii-tool (can't remember the 
sequence) will cause eth0 to lose link completely (ethtool shows "Link 
detected: no") and need reboot to get the line up.

After replacing tg3 with bcm5700 driver, ethtool works well. Is it ethtool 
problem or tg3 problem?


Version info
------------
Fedora 1
kernel 2.4.22-1.2129.nptlsmp
tg.c (v2.2, 24-August-2003)
bcm5700-7.1.9-1
ethtool-1.8-2.1



Regards,
Zhi Min