aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-02-12 06:31:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-02-12 06:31:22 +0000
commit7de9266761ec67170eeb0dc56f30b1c92d8f6640 (patch)
tree99411375e87439c5584e4fe73eb454dc11729a4d /target/linux/package
parent19fcb77ad318b17e6c766b6ace88351b2bba7e65 (diff)
downloadmaster-187ad058-7de9266761ec67170eeb0dc56f30b1c92d8f6640.tar.gz
master-187ad058-7de9266761ec67170eeb0dc56f30b1c92d8f6640.tar.bz2
master-187ad058-7de9266761ec67170eeb0dc56f30b1c92d8f6640.zip
add patch from #196
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3223 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package')
-rw-r--r--target/linux/package/switch/src/switch-core.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/package/switch/src/switch-core.c b/target/linux/package/switch/src/switch-core.c
index 5d4693c28f..8216646370 100644
--- a/target/linux/package/switch/src/switch-core.c
+++ b/target/linux/package/switch/src/switch-core.c
@@ -18,6 +18,18 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id: $
+ *
+ * Basic doc of driver's /proc interface:
+ * /proc/switch/<interface>/
+ * registers: read-only
+ * counters: read-only
+ * reset: write causes hardware reset
+ * enable_vlan: "0", "1"
+ * port/<port-number>/
+ * enabled: "0", "1"
+ * media: "AUTO", "100FD", "100HD", "10FD", "10HD"
+ * vlan/<port-number>/
+ * ports: same syntax as for nvram's vlan*ports (eg. "1 2 3 4 5*")
*/
#include <linux/config.h>