aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2022-02-25 16:19:25 +0000
committerDavid S. Miller <[email protected]>2022-02-26 12:44:28 +0000
commit79fda660bdbba839f434cf8674ff4a20d88fbeb2 (patch)
tree046521b64ed941825932b4a36f40323ea47bc7a8 /drivers/net/dsa/dsa_loop.c
parentMerge branch 'small-fixes-for-mctp' (diff)
downloadkernel-79fda660bdbba839f434cf8674ff4a20d88fbeb2.tar.gz
kernel-79fda660bdbba839f434cf8674ff4a20d88fbeb2.zip
net: dsa: ocelot: populate supported_interfaces
Populate the supported interfaces bitmap for the Ocelot DSA switches. Since all sub-drivers only support a single interface mode, defined by ocelot_port->phy_mode, we can handle this in the main driver code without reference to the sub-driver. Signed-off-by: Russell King (Oracle) <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Tested-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions