Searched hist:be6ec5b7 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/pcs/ |
H A D | pcs-xpcs.h | be6ec5b7 Wed Jan 26 04:25:55 CST 2022 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> 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>
|
/openbmc/linux/drivers/net/pcs/ |
H A D | pcs-xpcs.c | be6ec5b7 Wed Jan 26 04:25:55 CST 2022 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> 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>
|