summaryrefslogtreecommitdiff
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-11-16 12:10:54 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-01-12 11:07:19 +0000
commit06d3216c9e13bf1ebaa6c18f8e554e12a8e378ed (patch)
treeae012cb9e972b836a831a7cea3a74f4a10788922 /drivers/net/dsa
parentc03ee925e6d90ed2321685a07d950d2f47a8cad3 (diff)
net: dsa: support use of phylink_generic_validate()
Support the use of phylink_generic_validate() when there is no phylink_validate method given in the DSA switch operations and mac_capabilities have been set in the phylink_config structure by the DSA switch driver. This gives DSA switch drivers the option to use this if they provide the supported_interfaces and mac_capabilities, while still giving them an option to override the default implementation if necessary. Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions