diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-11-20 22:56:56 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-01-15 12:44:30 +0000 |
commit | e26f75852e1db6698c97eeeaaa9e9700c9217e62 (patch) | |
tree | b0cea7d3ec6b8178c16233c3f68e30a1f6e4afc1 /include/net/dsa.h | |
parent | da602d92f19b4ff171585b2be3a3575759cab6f3 (diff) |
net: dsa: xrs700x: convert to phylink_generic_validate()
Populate the supported interfaces and MAC capabilities for the xrs700x
family of DSA switches and remove the old validate implementation to
allow DSA to use phylink_generic_validate() for this switch driver.
According to commit ee00b24f32eb ("net: dsa: add Arrow SpeedChips
XRS700x driver") the switch supports one RMII port and up to three
RGMII ports. This commit assumes that port 0 is the RMII port and the
remainder are RGMII.
This commit also results in the Autoneg bit being set in the ethtool
link modes, which wasn't in the original; if this switch supports
RGMII to a 10/100/1G PHY, then surely we want to allow Autoneg on the
PHY.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions