net: dsa: mv88e6xxx: Restore USXGMII support for 6393X
authorTobias Waldekranz <tobias@waldekranz.com>
Tue, 5 Dec 2023 22:13:59 +0000 (23:13 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Dec 2023 03:21:57 +0000 (19:21 -0800)
commit0c7ed1f9197aecada33a08b022e484a97bf584ba
tree8310e83261c2a02589ab62f057ba628948b35cd6
parent3d501dd326fb1c73f1b8206d4c6e1d7b15c07e27
net: dsa: mv88e6xxx: Restore USXGMII support for 6393X

In 4a56212774ac, USXGMII support was added for 6393X, but this was
lost in the PCS conversion (the blamed commit), most likely because
these efforts where more or less done in parallel.

Restore this feature by porting Michal's patch to fit the new
implementation.

Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Michal Smulski <michal.smulski@ooma.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Fixes: e5b732a275f5 ("net: dsa: mv88e6xxx: convert 88e639x to phylink_pcs")
Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Link: https://lore.kernel.org/r/20231205221359.3926018-1-tobias@waldekranz.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/pcs-639x.c