projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swconfig: add a generic switch reset call
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
files
/
include
/
linux
/
switch.h
diff --git
a/target/linux/generic-2.6/files/include/linux/switch.h
b/target/linux/generic-2.6/files/include/linux/switch.h
index
75c7dcf
..
98b86e8
100644
(file)
--- a/
target/linux/generic-2.6/files/include/linux/switch.h
+++ b/
target/linux/generic-2.6/files/include/linux/switch.h
@@
-132,6
+132,7
@@
struct switch_dev {
int (*get_port_pvid)(struct switch_dev *dev, int port, int *val);
int (*set_port_pvid)(struct switch_dev *dev, int port, int val);
int (*apply_config)(struct switch_dev *dev);
+ int (*reset_switch)(struct switch_dev *dev);
};
struct switch_port {