diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-28 19:16:17 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-28 19:16:17 +0000 |
commit | b645d7df22f212f2d518ab5b8c62a8d57e3cdb51 (patch) | |
tree | cf4a5fb4bf2673dafa7d1146734f69e2a10fdb19 /target/linux/generic-2.6/files/include | |
parent | 27c303501e47f15ba64569c28b1a1a125ba1714b (diff) |
swconfig: add a generic switch reset call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15470 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 75c7dcfa91..98b86e8514 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 { |