fix a crash in ip175c attribute enumeration
[openwrt-10.03/.git] / target / linux / generic-2.6 / files / include / linux / switch.h
index ef6b8f2ea40e4c2f0600581a6ab2c9b50dff5677..98b86e8514cb4fd981c81a9084659b6cbd9a50b8 100644 (file)
@@ -129,7 +129,10 @@ struct switch_dev {
 
        int (*get_vlan_ports)(struct switch_dev *dev, struct switch_val *val);
        int (*set_vlan_ports)(struct switch_dev *dev, struct switch_val *val);
+       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 {