summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-11-19 15:16:59 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-01-18 10:17:21 +0000
commitc1be7ba93c308557a2de1f9eb016de9eaa64a0b2 (patch)
tree458b240aa7808ddf44ef5c6eb352183a1bad6db6 /net
parente5f6ec6854e34e50c90f0c67436e80158ad406af (diff)
net: dsa: sja1105: convert to phylink_generic_validate()
Populate the supported interfaces and MAC capabilities for the SJA1105 DSA switch and remove the old validate implementation to allow DSA to use phylink_generic_validate() for this switch driver. This switch only supports a static model of configuration, so we restrict the interface modes to the configured setting, and pass the MAC capabilities. As it is unclear which interface modes support 1G speeds, we keep the setting of MAC_1000FD conditional on the configured interface mode. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions