diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-10-26 12:06:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-26 16:10:36 +0200 |
commit | d25f3a74f30aace819163dfa54f2a4b8ca1dc932 (patch) | |
tree | 65da141e422565b05e2ee8710cf602bfb42cf1a8 /drivers/comedi | |
parent | net: phylink: add MAC phy_interface_t bitmap (diff) | |
download | linux-d25f3a74f30aace819163dfa54f2a4b8ca1dc932.tar.xz linux-d25f3a74f30aace819163dfa54f2a4b8ca1dc932.zip |
net: phylink: use supported_interfaces for phylink validation
If the network device supplies a supported interface bitmap, we can use
that during phylink's validation to simplify MAC drivers in two ways by
using the supported_interfaces bitmap to:
1. reject unsupported interfaces before calling into the MAC driver.
2. generate the set of all supported link modes across all supported
interfaces (used mainly for SFP, but also some 10G PHYs.)
Suggested-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions