1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

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:
nbd
2009-04-28 19:16:17 +00:00
parent 27c303501e
commit b645d7df22
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 {