mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
2b88563ee5
* rename the target to realtek * add refactored DSA driver * add latest gpio driver * lots of arch cleanups * new irq driver * additional boards Signed-off-by: Bert Vermeulen <bert@biot.com> Signed-off-by: Birger Koblitz <mail@birger-koblitz.de> Signed-off-by: Sander Vanheule <sander@svanheule.net> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: John Crispin <john@phrozen.org>
14 lines
555 B
Diff
14 lines
555 B
Diff
--- a/include/linux/phy.h
|
|
+++ b/include/linux/phy.h
|
|
@@ -650,6 +650,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)
|