summaryrefslogtreecommitdiff
path: root/net/dsa/switch.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2023-04-11 05:35:41 +0300
committerJakub Kicinski <kuba@kernel.org>2023-04-12 07:17:51 +0300
commit18bb56ab4477b966e2974b96a5e3bf9ba052aac5 (patch)
tree729c660ba11c0c06a129967c1f534f736bd46d0c /net/dsa/switch.c
parent4de00f0acc722f43046dca06fe1336597d1250ab (diff)
downloadlinux-18bb56ab4477b966e2974b96a5e3bf9ba052aac5.tar.xz
net: dsa: mv88e6xxx: Correct cmode to PHY_INTERFACE_
The switch can either take the MAC or the PHY role in an MII or RMII link. There are distinct PHY_INTERFACE_ macros for these two roles. Correct the mapping so that the `REV` version is used for the PHY role. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20230411023541.2372609-1-andrew@lunn.ch Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/switch.c')
0 files changed, 0 insertions, 0 deletions