summaryrefslogtreecommitdiffstats
path: root/drivers/comedi
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-10-26 12:06:11 +0200
committerDavid S. Miller <davem@davemloft.net>2021-10-26 16:10:36 +0200
commitd25f3a74f30aace819163dfa54f2a4b8ca1dc932 (patch)
tree65da141e422565b05e2ee8710cf602bfb42cf1a8 /drivers/comedi
parentnet: phylink: add MAC phy_interface_t bitmap (diff)
downloadlinux-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