mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
95170b4350
this patch copies the following files from 5.4 to 5.10: - config-5.4 -> config-5.10 - files-5.4/ -> files-5.10/ - patches-5.4/ -> patches-5.10/ Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [rebase on change in files-5.4] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
14 lines
555 B
Diff
14 lines
555 B
Diff
--- 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);
|
|
+ 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)
|