swconfig: add a generic switch reset call
[openwrt.git] / target / linux / generic-2.6 / files / include / linux / switch.h
index 75c7dcf..98b86e8 100644 (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 {