Re: [PATCH 0/2] net: macb: Add support for SiFive FU540-C000

From: Yash Shah
Date: Mon May 27 2019 - 07:56:30 EST


On Mon, May 27, 2019 at 1:34 PM Andreas Schwab <schwab@xxxxxxx> wrote:
>
> On Mai 24 2019, Yash Shah <yash.shah@xxxxxxxxxx> wrote:
>
> > Hi Andreas,
> >
> > On Thu, May 23, 2019 at 6:19 PM Andreas Schwab <schwab@xxxxxxx> wrote:
> >>
> >> On Mai 23 2019, Yash Shah <yash.shah@xxxxxxxxxx> wrote:
> >>
> >> > On FU540, the management IP block is tightly coupled with the Cadence
> >> > MACB IP block. It manages many of the boundary signals from the MACB IP
> >> > This patchset controls the tx_clk input signal to the MACB IP. It
> >> > switches between the local TX clock (125MHz) and PHY TX clocks. This
> >> > is necessary to toggle between 1Gb and 100/10Mb speeds.
> >>
> >> Doesn't work for me:
> >>
> >> [ 365.842801] macb: probe of 10090000.ethernet failed with error -17
> >>
> >
> > Make sure you have applied all the patches needed for testing found at
> > dev/yashs/ethernet branch of:
>
> Nope, try reloading the module.

Yes, I could see the error on reloading the module.
Thanks for the catch. I will fix this in the next version of this patch.

- Yash