mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-03 20:44:18 +00:00
95f089dafe
This patch refresh all patches in patches-5.10/ to adjust for Kernel 5.10. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
14 lines
583 B
Diff
14 lines
583 B
Diff
--- a/include/linux/phy.h
|
|
+++ b/include/linux/phy.h
|
|
@@ -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);
|
|
+ int (*set_eee)(struct phy_device *dev, struct ethtool_eee *e);
|
|
};
|
|
#define to_phy_driver(d) container_of(to_mdio_common_driver(d), \
|
|
struct phy_driver, mdiodrv)
|