diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2025-03-07 18:36:07 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-18 09:03:11 +0100 |
commit | ce60fef7feccb5c71d5b49e489d24db7d79c2ac7 (patch) | |
tree | 8d7783174cba29e23064e80278d95bb59306cf9a /include/linux/phy.h | |
parent | de7d3f87be3cba8ad06978271a3135bd08810c97 (diff) |
net: phy: drop phy_settings and the associated lookup helpers
The phy_settings array is no longer relevant as it has now been replaced
by the link_caps array and associated phy_caps helpers.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250307173611.129125-11-maxime.chevallier@bootlin.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 83c50bb21939..c24e1a565819 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -1275,19 +1275,6 @@ const char *phy_rate_matching_to_str(int rate_matching); int phy_interface_num_ports(phy_interface_t interface); -/* A structure for mapping a particular speed and duplex - * combination to a particular SUPPORTED and ADVERTISED value - */ -struct phy_setting { - u32 speed; - u8 duplex; - u8 bit; -}; - -const struct phy_setting * -phy_lookup_setting(int speed, int duplex, const unsigned long *mask, - bool exact); - /** * phy_is_started - Convenience function to check whether PHY is started * @phydev: The phy_device struct |