X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8e2a30f6f4baf326b0446f3d0d9978cd15e6a847..013e04a018a55287faff4ec9f5fe3305525e03cd:/openwrt/target/linux/package/switch/src/switch-core.c diff --git a/openwrt/target/linux/package/switch/src/switch-core.c b/openwrt/target/linux/package/switch/src/switch-core.c index 31a02506d..821664637 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 @@ -445,7 +457,7 @@ static int __init switch_init() static void __exit switch_exit() { - remove_proc_entry("vlan", NULL); + remove_proc_entry("switch", NULL); } MODULE_AUTHOR("Felix Fietkau ");