[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

detecting ethernet mode for Giga Nic



Hi,

I just discover that mii-tool and mii-diag (sarge/sid version) report Giga link as 100bTx both on 2.4.26 and 2.6.7 kernel :

Broadcom  BCM5704 chipset NIC :
# mii-tool eth0
eth0: negotiated 100baseTx-FD, link ok

Intel e1000 (82546EB) :
# mii-diag eth0
Basic registers of MII PHY #0:  1140 796d 0141 0c23 0de1 c181 000d 2801.
 The autonegotiated capability is 0180.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x1140: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised c181: 100baseTx-FD 100baseTx.
   End of basic transceiver information.

I know for sure that those link are in full duplex Giga mode (switch configuration and benchmark).

Anybody knows a way to get the real state of these interfaces (other tool ? /proc/* ? etc...)

Is this a bts report for each tools or is it some niceness of Giga ethernet detection/negotiation ?

@+,

	Fab



Reply to: