Home
last modified time | relevance | path

Searched hist:f4bf4678 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/phy/
H A Dsfp.cf4bf4678 Thu Aug 03 10:56:24 CDT 2023 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> net: phy: move marking PHY on SFP module into SFP code

Move marking the PHY as being on a SFP module into the SFP code between
getting the PHY device (and thus initialising the phy_device structure)
and registering the discovered device.

This means that PHY drivers can use phy_on_sfp() in their match and
get_features methods.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1qRaga-001vKt-8X@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
H A Dphy_device.cf4bf4678 Thu Aug 03 10:56:24 CDT 2023 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> net: phy: move marking PHY on SFP module into SFP code

Move marking the PHY as being on a SFP module into the SFP code between
getting the PHY device (and thus initialising the phy_device structure)
and registering the discovered device.

This means that PHY drivers can use phy_on_sfp() in their match and
get_features methods.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1qRaga-001vKt-8X@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>