Subject: Re: MII autonegotiation
To: Martin Husemann <martin@duskware.de>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-net
Date: 02/10/2003 10:10:04
On Sun, Feb 09, 2003 at 10:52:03AM +0100, Martin Husemann wrote:
> While discussing workarounds on port-sparc64 for hme autonegotiation
> failures, Christopher SEKIYA reminded us of an old patch from Jason:
>
> --- sys/dev/mii/mii_physubr.c.orig Tue May 14 05:01:57 2002
> +++ sys/dev/mii/mii_physubr.c Sun Aug 11 20:53:44 2002
> @@ -114,7 +114,7 @@
> int bmcr, anar, gtcr;
>
> if (IFM_SUBTYPE(ife->ifm_media) == IFM_AUTO) {
> - if ((PHY_READ(sc, MII_BMCR) & BMCR_AUTOEN) == 0)
> +// if ((PHY_READ(sc, MII_BMCR) & BMCR_AUTOEN) == 0)
> (void) mii_phy_auto(sc, 1);
> return;
> }
>
> Can we please get this commited or the problem attacked in another way?
I will try to work on this soon ... but just applying that patch actually
causes some other serious problems, which is why it is not enabled.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>