Subject: Re: net: phy: Dealing with 88e1543 dual-port mode

From: Tobias Waldekranz <[email-masked]>
Date: Fri, 20 Nov 2020 10:05:18 +0100

On Fri, Nov 20, 2020 at 01:00, Andrew Lunn <[email-masked]> wrote:
>> E.g. at Westermo we make switches with M12/M12X connectors [1] that
>> sometimes have a 1G PHY behind a 2-pair M12 connector (for complicated
>> legacy reasons). In such cases we have to remove 1000-HD/FD from the
>> advertised link modes. Being able to describe that in the DT with
>> something like:
>> 
>> ethernet-phy@0 {
>>     mdi = "2-pair";
>> };
>
> We already have a max-speed property which could be used to do this.
> It will remove the 1000-HD/FD from the link mode if you set it to 100.
>
>    Andrew

Oh wow, well strike that argument then :)

Thank you

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel