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

Re: detecting ethernet mode for Giga Nic


Fabrice Lorrain wrote:
> 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 don't know of broadcom but here what i can tell about e1000 :

e1000 does not support the mii.  Do not expect mii-{tool,diag} to work.

> 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...)

ethtool (packaged) is able to view the state of e1000 interfaces.
The driver allows you to change them at load-time.


Furthermore, intel has some tools available that can change negotiation
parameters on the fly (and other things like VLAN or teaming) :


Hope this helps...


Reply to: