diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-11-18 18:59:48 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-01-14 10:59:41 +0000 |
commit | f6bdcef873737656d9d50c736b7e4a8b4a757a26 (patch) | |
tree | 68a8d7e4ebfef11d003859c171405b54af7be5ea /Kbuild | |
parent | 1de363b980e499f56a93a89506f00b142d939635 (diff) |
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions