After discussing with Russell King, it appears this driver is making a few confusions and not performing some checks for consistent operation.
Changes in v2: - Removed redundant print in the phylink_validate callback (in 2/3). Vladimir Oltean (3): net: dsa: sja1105: Don't check state->link in phylink_mac_config net: dsa: sja1105: Check for PHY mode mismatches with what PHYLINK reports net: dsa: sja1105: Mark in-band AN modes not supported for PHYLINK drivers/net/dsa/sja1105/sja1105_main.c | 56 +++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 2 deletions(-) -- 2.17.1