On 2009-09-23 14:40:11 (-0700), Pyun YongHyeon <pyunyh_at_gmail.com> wrote: > Oh, this question may not be related with your link issue. I wanted > to know why mge(4) had to check media type in its ioctl handler. > The advertised capability has nothing to do with link partner's > capability. The advertised capability is used in auto-negotiation > process and the PHY will choose the highest common denominator > capability. So if we want to disable 1000baseT/half-duplex for > whatever reason, it can be achieved by not advertising 1000baseT/ > half-duplex capability to mii layer. > I think it's advertising the following: 10baseT 10baseT-FDX 100baseTX 100baseTX-FDX 1000baseT 1000baseT-FDX auto In any case, the values used during mii_phy_add_media are sc->mii_capabilities 0x7949 and sc->mii_extcapabilities 0x3000. Regards, KristofReceived on Thu Sep 24 2009 - 18:39:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC