diff options
| author | Russell King (Oracle) <[email protected]> | 2021-11-15 10:00:27 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-11-15 14:31:00 +0000 |
| commit | 34ae2c09d46a2d0abd907e139b466f798e4095a8 (patch) | |
| tree | 3f0348fcaa1c46c3c2c7071c6d938f109ec6d788 /net/unix/af_unix.c | |
| parent | net/wan/fsl_ucc_hdlc: fix sparse warnings (diff) | |
| download | kernel-34ae2c09d46a2d0abd907e139b466f798e4095a8.tar.gz kernel-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) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
