From b645d7df22f212f2d518ab5b8c62a8d57e3cdb51 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 28 Apr 2009 19:16:17 +0000 Subject: swconfig: add a generic switch reset call git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15470 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/files/include/linux/switch.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/generic-2.6/files/include') 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 75c7dcfa9..98b86e851 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 { -- cgit v1.2.3