diff options
author | 2022-02-17 18:31:01 +0000 | |
---|---|---|
committer | 2022-02-18 11:28:33 +0000 | |
commit | d9cbacf0574abd09a7f3b9f3081bd9cf4a86d71b (patch) | |
tree | 55c0274be40fcf23c972fa7d8a31c33ad983a5ef /drivers | |
parent | net: dsa: qca8k: move pcs configuration (diff) | |
download | linux-d9cbacf0574abd09a7f3b9f3081bd9cf4a86d71b.tar.gz linux-d9cbacf0574abd09a7f3b9f3081bd9cf4a86d71b.tar.bz2 linux-d9cbacf0574abd09a7f3b9f3081bd9cf4a86d71b.zip |
net: dsa: qca8k: mark as non-legacy
The qca8k driver does not make use of the speed, duplex, pause or
advertisement in its phylink_mac_config() implementation, so it can be
marked as a non-legacy driver.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/dsa/qca8k.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index 2f8b03ff748c..04fa21e37dfa 100644 --- a/drivers/net/dsa/qca8k.c +++ b/drivers/net/dsa/qca8k.c @@ -1814,6 +1814,8 @@ static void qca8k_phylink_get_caps(struct dsa_switch *ds, int port, config->mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | MAC_10 | MAC_100 | MAC_1000FD; + + config->legacy_pre_march2020 = false; } static void |