Updated Amlogic aml8726-m6 and aml8726-m8 support files

Ruslan Bukin br at freebsd.org
Mon Mar 23 17:14:07 UTC 2015


On Fri, Mar 20, 2015 at 09:35:17AM +0800, Ganbold Tsagaankhuu wrote:
> >
> >   1) In dwc_intr change:
> >
> >        ...
> >        mii_mediachg(sc->mii_softc);
> >
> >      to:
> >
> >        ...
> >        mii_pollstat(&sc->sc_mii);
> >
> >      in order to prevent the link from excessive flapping when the
> >      media changed.
> >
> >      While this change worked fine for me with the Amlogic SoC, and
> >      is also how it's done by the NetBSD driver, Ruslan Bukin reported
> >      that the change broke the Altera SoC for which he wrote the dwc
> >      driver.
> >
> 
> Can you share ideas on John's question above?
> 
> thanks a lot,
> 

Hi,

I have lack of ideas about that.

John, if you change mii_mediachg() to mii_pollstat() in the interrupt hander,
then changing media works stable for you ?

Ruslan



More information about the freebsd-arm mailing list