diff options
author | David S. Miller <davem@davemloft.net> | 2021-10-28 12:55:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-28 12:55:44 +0100 |
commit | 1feef2dece56de5825513e55b92a1826358a55b0 (patch) | |
tree | 62fe351114eb285953b39985fc87cd99618f0b24 /net/sched | |
parent | 06e6c88fba2413a8408f321b0b3a5b0954e76436 (diff) | |
parent | b63f1117aefc67516fe26bd104bc3a8ffa617a05 (diff) |
Merge branch 'mvpp2-phylink'
Russell King says:
====================
Convert mvpp2 to phylink supported_interfaces
This patch series converts mvpp2 to use phylinks supported_interfaces
bitmap to simplify the validate() implementation. The patches:
1) Add the supported interface modes the supported_interfaces bitmap.
2) Removes the checks for the interface type being supported from
the validate callback
3) Removes the now unnecessary checks and call to
phylink_helper_basex_speed() to support switching between
1000base-X and 2500base-X for SFPs
4) Cleans up the resulting validate() code.
(3) becomes possible because when asking the MAC for its complete
support, we walk all supported interfaces which will include 1000base-X
and 2500base-X only if the comphy is present.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions