net: phy: Dealing with 88e1543 dual-port mode
Tobias Waldekranz
tobias at waldekranz.com
Fri Nov 20 04:05:18 EST 2020
On Fri, Nov 20, 2020 at 01:00, Andrew Lunn <andrew at lunn.ch> 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 at 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
More information about the linux-arm-kernel
mailing list