diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-11-15 10:00:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-15 14:31:00 +0000 |
commit | 34ae2c09d46a2d0abd907e139b466f798e4095a8 (patch) | |
tree | 3f0348fcaa1c46c3c2c7071c6d938f109ec6d788 /lib/test_hash.c | |
parent | 5cf46d8e741f3876222f11b0a0bcbdcddfd8754e (diff) | |
download | linux-34ae2c09d46a2d0abd907e139b466f798e4095a8.tar.gz linux-34ae2c09d46a2d0abd907e139b466f798e4095a8.tar.bz2 linux-34ae2c09d46a2d0abd907e139b466f798e4095a8.zip |
net: phylink: add generic validate implementation
Add a generic validate() implementation using the supported_interfaces
and a bitmask of MAC pause/speed/duplex capabilities. This allows us
to entirely eliminate many driver private validate() implementations.
We expose the underlying phylink_get_linkmodes() function so that
drivers which have special needs can still benefit from conversion.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_hash.c')
0 files changed, 0 insertions, 0 deletions