diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-28 19:16:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-28 19:16:17 +0000 |
commit | 8ec2ad91ad317942c48972624312088eaaa79188 (patch) | |
tree | 917d00b889e8154c4c9ec27fdb14f3bd0a3237f5 /target/linux/generic-2.6/files/include | |
parent | 2d0ccf7f5e0d98cb621550f88f19f7380fc06728 (diff) | |
download | mtk-20170518-8ec2ad91ad317942c48972624312088eaaa79188.zip mtk-20170518-8ec2ad91ad317942c48972624312088eaaa79188.tar.gz mtk-20170518-8ec2ad91ad317942c48972624312088eaaa79188.tar.bz2 |
swconfig: add a generic switch reset call
SVN-Revision: 15470
Diffstat (limited to 'target/linux/generic-2.6/files/include')
-rw-r--r-- | target/linux/generic-2.6/files/include/linux/switch.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 --- 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 { |