mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
3f165fa7cc
Removed since included upstream and could be reverse-applied by quilt: backport-5.4/315-v5.10-usbnet-ipeth-fix-connectivity-with-ios-14.patch Remaining modifications made by update_kernel.sh Build system: x86_64 Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711 Run-tested: ipq806x/R7800 No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us> Tested-by: Curtis Deptuck <curtdept@me.com> [build/run x86_64]
14 lines
555 B
Diff
14 lines
555 B
Diff
--- a/include/linux/phy.h
|
|
+++ b/include/linux/phy.h
|
|
@@ -644,6 +644,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)
|