net: dsa: mv88e6060: add phylink_get_caps implementation
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 12 Aug 2023 09:30:33 +0000 (10:30 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Aug 2023 01:57:17 +0000 (18:57 -0700)
commit479b322ee6feaff612285a0e7f22c022e8cd84eb
treed837a1366cd9d73e0caecd44472defe83b057348
parentf3cc00303cdbc82f719e0cf0dc6f057e8741b5ee
net: dsa: mv88e6060: add phylink_get_caps implementation

Add a phylink_get_caps implementation for Marvell 88e6060 DSA switch.
This is a fast ethernet switch, with internal PHYs for ports 0 through
4. Port 4 also supports MII, REVMII, REVRMII and SNI. Port 5 supports
MII, REVMII, REVRMII and SNI without an internal PHY.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/E1qUkx7-003dMX-9b@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6060.c