summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2023-01-27 20:35:54 +0100
committerJakub Kicinski <kuba@kernel.org>2023-01-31 06:07:20 +0100
commitde879a016a94a670fafeb3eb03b3d5803d81ab37 (patch)
tree407439c49f2306b84e492bba044e5a1f23b3279c /init
parentnet: dsa: felix: add support for MFD configurations (diff)
downloadlinux-de879a016a94a670fafeb3eb03b3d5803d81ab37.tar.xz
linux-de879a016a94a670fafeb3eb03b3d5803d81ab37.zip
net: dsa: felix: add functionality when not all ports are supported
When the Felix driver would probe the ports and verify functionality, it would fail if it hit single port mode that wasn't supported by the driver. The initial case for the VSC7512 driver will have physical ports that exist, but aren't supported by the driver implementation. Add the OCELOT_PORT_MODE_NONE macro to handle this scenario, and allow the Felix driver to continue with all the ports that are currently functional. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # regression Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions