We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721aa69 commit ed623fbCopy full SHA for ed623fb
include/linux/phy.h
@@ -1263,6 +1263,16 @@ void of_set_phy_eee_broken(struct phy_device *phydev);
1263
void of_set_phy_timing_role(struct phy_device *phydev);
1264
int phy_speed_down_core(struct phy_device *phydev);
1265
1266
+/**
1267
+ * phy_set_eee_broken - Mark an EEE mode as broken so that it isn't advertised.
1268
+ * @phydev: The phy_device struct
1269
+ * @link_mode: The broken EEE mode
1270
+ */
1271
+static inline void phy_set_eee_broken(struct phy_device *phydev, u32 link_mode)
1272
+{
1273
+ linkmode_set_bit(link_mode, phydev->eee_broken_modes);
1274
+}
1275
+
1276
/**
1277
* phy_is_started - Convenience function to check whether PHY is started
1278
* @phydev: The phy_device struct
0 commit comments