projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: phy: Pass mdix ethtool setting through to phy driver
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
phy.h
diff --git
a/include/linux/phy.h
b/include/linux/phy.h
index a26c3f84b8ddc6c15e2abbecf47a588419534b11..e5fb1d4159619f7ecad0fca5515e627fd7016e06 100644
(file)
--- a/
include/linux/phy.h
+++ b/
include/linux/phy.h
@@
-424,6
+424,8
@@
struct phy_device {
struct net_device *attached_dev;
+ u8 mdix;
+
void (*adjust_link)(struct net_device *dev);
};
#define to_phy_device(d) container_of(d, struct phy_device, dev)