From 16e005236f033623b7ae3181ac387f07bbe04d10 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 12 Feb 2006 06:31:22 +0000 Subject: [PATCH] add patch from #196 SVN-Revision: 3223 --- .../target/linux/package/switch/src/switch-core.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/openwrt/target/linux/package/switch/src/switch-core.c b/openwrt/target/linux/package/switch/src/switch-core.c index 5d4693c28f..8216646370 100644 --- a/openwrt/target/linux/package/switch/src/switch-core.c +++ b/openwrt/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// + * registers: read-only + * counters: read-only + * reset: write causes hardware reset + * enable_vlan: "0", "1" + * port// + * enabled: "0", "1" + * media: "AUTO", "100FD", "100HD", "10FD", "10HD" + * vlan// + * ports: same syntax as for nvram's vlan*ports (eg. "1 2 3 4 5*") */ #include -- 2.30.2