diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-02-02 13:24:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-03 14:47:06 +0300 |
commit | 927c9daea9b56cb65fb3d5dfaa3abd96b6c2c4b4 (patch) | |
tree | 2507c18a7d8fe80ff51898ac819657226527e1bd /tools/perf/scripts/python/stackcollapse.py | |
parent | 2a229ef44e738feb64a365affa6ece91646307eb (diff) | |
download | linux-927c9daea9b56cb65fb3d5dfaa3abd96b6c2c4b4.tar.xz |
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions