tech-kern archive

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

Re: awge0 and 100mb?



On Wed, Apr 25, 2018 at 07:36:18AM +0200, Martin Husemann wrote:
> On Tue, Apr 24, 2018 at 06:54:16PM +0200, Aymeric Vincent wrote:
> > 
> > Hi,
> > 
> > how about you tried this patch? Among quite a few other changes, I need
> > to remove AWIN_GMAC_MAC_INT_RGSMII from the default mask to make the
> > awge0 on my DE0 nano-soc work (at Gbps speed, and because the PHY there
> > is connected via RGMII). It looks like the media changing code is
> > present but we mask media changing interrupts, so you might lose at
> > 100Mbps and be lucky at 1Gbps. My analysis could be wrong though, I'm
> > interested in your feedback.
> 
> Heh, good catch.
> 
> I can not easily test media changes (due to the way my cubietruck is
> wired/mounted), but the patch at least does not break it (nor cause
> noticable differences in interrupt counts).

I tested on a olimex lime2 (A20 with a realtek Gbe PHY), it doens't make a
difference either.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index