realtek: refresh patches for Kernel 5.10
[openwrt/staging/noltari.git] / target / linux / realtek / patches-5.10 / 703-include-linux-add-phy-ops-for-rtl838x.patch
index 3682eb30a36856455a0cf2311b62bfb13d2a2210..0a771b64f0b0a53f708f9f71946428d5600f4427 100644 (file)
@@ -1,9 +1,9 @@
 --- a/include/linux/phy.h
 +++ b/include/linux/phy.h
-@@ -645,6 +645,10 @@ struct phy_driver {
-                           struct ethtool_tunable *tuna,
-                           const void *data);
-       int (*set_loopback)(struct phy_device *dev, bool enable);
+@@ -881,6 +881,10 @@ struct phy_driver {
+       int (*get_sqi)(struct phy_device *dev);
+       /** @get_sqi_max: Get the maximum signal quality indication */
+       int (*get_sqi_max)(struct phy_device *dev);
 +      int (*get_port)(struct phy_device *dev);
 +      int (*set_port)(struct phy_device *dev, int port);
 +      int (*get_eee)(struct phy_device *dev, struct ethtool_eee *e);