RE: [PATCH net 1/3] net: fsl/fman: treat all RGMII modes in memac_adjust_link()

From: Madalin Bucur (OSS)
Date: Mon Mar 16 2020 - 05:00:56 EST


> -----Original Message-----
> From: Andrew Lunn <andrew@xxxxxxx>
> Sent: Monday, March 16, 2020 10:39 AM
> To: Madalin Bucur (OSS) <madalin.bucur@xxxxxxxxxxx>
> Cc: davem@xxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx;
> devicetree@xxxxxxxxxxxxxxx; shawnguo@xxxxxxxxxx; Leo Li
> <leoyang.li@xxxxxxx>; robh+dt@xxxxxxxxxx; mark.rutland@xxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH net 1/3] net: fsl/fman: treat all RGMII modes in
> memac_adjust_link()
>
> > > Hi Madalin
> > >
> > > You can use phy_interface_mode_is_rgmii()
> > >
> > > Andrew
> >
> > I have that on the todo list for all the places in the code, but that's
> > net-next material.
>
> I don't see why it cannot be used here, for this case, now.
>
> Andrew

I'll send a v2 with this, I was referring to the rest of them.