projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar8216: add 802.3az EEE info to swconfig get_link attribute
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
generic
/
files
/
include
/
linux
/
switch.h
diff --git
a/target/linux/generic/files/include/linux/switch.h
b/target/linux/generic/files/include/linux/switch.h
index b53431e0a1b7af6e1ce2645d629ac03ee52ee8ad..42913645629a401724f2cba511b5e31f7185d714 100644
(file)
--- a/
target/linux/generic/files/include/linux/switch.h
+++ b/
target/linux/generic/files/include/linux/switch.h
@@
-54,6
+54,8
@@
struct switch_port_link {
bool tx_flow;
bool rx_flow;
enum switch_port_speed speed;
+ /* in ethtool adv_t format */
+ u32 eee;
};
struct switch_port_stats {