Re: [PATCH v2] net: dsa: rtl8366rb: Switch to phylink

2020-09-07 Thread Jakub Kicinski
On Sun, 6 Sep 2020 23:24:15 +0200 Linus Walleij wrote: > This switches the RTL8366RB over to using phylink callbacks > instead of .adjust_link(). This is a pretty template > switchover. All we adjust is the CPU port so that is why > the code only inspects this port. > > We enhance by adding prope

[PATCH v2] net: dsa: rtl8366rb: Switch to phylink

2020-09-06 Thread Linus Walleij
This switches the RTL8366RB over to using phylink callbacks instead of .adjust_link(). This is a pretty template switchover. All we adjust is the CPU port so that is why the code only inspects this port. We enhance by adding proper error messages, also disabling the CPU port on the way down and mo