swconfig: add a generic switch reset call

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15470 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2009-04-28 19:16:17 +00:00
parent b830ff8994
commit f8e84c4e39
3 changed files with 21 additions and 10 deletions

View File

@@ -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 {