diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-11-30 13:10:16 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-01 18:58:01 -0800 |
commit | a2279b08c7f4c97ad93916dae5c02eeac34b7f2c (patch) | |
tree | cc245a61fb2ed6b91bdb6fbde6052b4b0cd09fc7 /lib/cmdline_kunit.c | |
parent | 1c9e7fd2a579c7c3288264f6e90b9c0a3388dbf9 (diff) |
net: dsa: lantiq: convert to phylink_generic_validate()
Populate the supported interfaces and MAC capabilities for the Lantiq
DSA switches 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, Reverse MII and Reduced 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.
Reviewed-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/cmdline_kunit.c')
0 files changed, 0 insertions, 0 deletions