summaryrefslogtreecommitdiff
path: root/drivers/net/bareudp.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-01-26 10:25:55 +0000
committerDavid S. Miller <davem@davemloft.net>2022-01-26 11:20:37 +0000
commitbe6ec5b7026620b931e0fa9287d24ad2cd2ab9b6 (patch)
tree1bac086e5fa55151df980b32b11f958377cd0e76 /drivers/net/bareudp.c
parent3cade91d0e1817e7cf62943525c7b6fe15ff8f1b (diff)
downloadlinux-next-be6ec5b7026620b931e0fa9287d24ad2cd2ab9b6.tar.gz
net: xpcs: add support for retrieving supported interface modes
Add a function to the xpcs driver to retrieve the supported PHY interface modes, which can be used by drivers to fill in phylink's supported_interfaces mask. We validate the interface bit index to ensure that it fits within the bitmap as xpcs lists PHY_INTERFACE_MODE_MAX in an entry. Tested-by: Wong Vee Khee <vee.khee.wong@linux.intel.com> # Intel EHL Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bareudp.c')
0 files changed, 0 insertions, 0 deletions