summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-11-19 14:28:59 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-01-15 12:44:29 +0000
commit859c3f2ddffae4e8769889a81952ca028c3cd738 (patch)
tree1b219fae9aff1267d63ae8ebba16d4b28cd0e701 /lib
parenta1a57a4f7485a2df33ed25a8804f1760a6ed94d7 (diff)
net: dsa: bcm_sf2: convert to phylink_generic_validate()
Populate the supported interfaces and MAC capabilities for the bcm_sf2 DSA switch and remove the old validate implementation to allow DSA to use phylink_generic_validate() for this switch driver. The exclusion of Gigabit linkmodes for MII and Reverse MII links is handled within phylink_generic_validate() in phylink, so there is no need to make them conditional on the interface mode in the driver. Thanks to Florian Fainelli for suggesting how to populate the supported interfaces. Link: https://lore.kernel.org/r/3b3fed98-0c82-99e9-dc72-09fe01c2bcf3@gmail.com Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions