Subject: Re: rgephy auto
To: YAMAMOTO Takashi <email@example.com>
From: Jonathan Stone <firstname.lastname@example.org>
Date: 01/21/2005 10:34:59
In message <email@example.com>,
YAMAMOTO Takashi writes:
>rgephy.c clears BMSR_ANEG
> sc->mii_capabilities = PHY_READ(sc, MII_BMSR) & ma->mii_capmask;
> sc->mii_capabilities &= ~BMSR_ANEG;
>and adds it later explicitly.
> /* rtl8169S does not report auto-sense; add manually. */
> ADD(IFM_MAKEWORD(IFM_ETHER, IFM_AUTO, 0, sc->mii_inst), MII_NMEDIA);
>is this really needed?
>my GA511 seems to report "auto".
I think it depends on the stepping. IIRC, my card did not report auto.
I also understand (from the FreeBSD code or from docs) that integrated
PHYs with the older MII do not report auto.
I guess I need to find one of the older chips...