diff options
| author | Russell King (Oracle) <[email protected]> | 2022-02-25 16:19:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-02-26 12:44:28 +0000 |
| commit | 79fda660bdbba839f434cf8674ff4a20d88fbeb2 (patch) | |
| tree | 046521b64ed941825932b4a36f40323ea47bc7a8 /scripts | |
| parent | 3e120e45801809ee25cab90690ea633bf20875ba (diff) | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions