[web] uci_network: remove /proc/switch references

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 31 05:58:01 PDT 2016


jogo pushed a commit to web.git, branch master:
https://git.lede-project.org/?p=web.git;a=commitdiff;h=d0a8c45afe203ad964db29c54496708decf8309c

commit d0a8c45afe203ad964db29c54496708decf8309c
Author: Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Sun Jul 31 14:54:52 2016 +0200

    uci_network: remove /proc/switch references
    
    Old kmod-switch support was removed a while ago, so remove documentation
    for it as well.
    
    Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
---
 docs/uci_net.txt | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/docs/uci_net.txt b/docs/uci_net.txt
index d38cbd7..a1d5637 100644
--- a/docs/uci_net.txt
+++ b/docs/uci_net.txt
@@ -29,28 +29,6 @@ The 'globals' section contains interface-independent options affecting the netwo
 
 The 'switch' section is responsible for partitioning the switch into several _VLANs_ which appear as independent interfaces in the system although they share the same hardware. **Not every OpenWrt supported device (or architecture, like x86) has a programmable switch**, therefore this section might not be present on some platforms. Please also note, that some switches only support 4Bit-VLANs.
 
-There are currently two different configuration formats in use, one for the legacy '/proc/switch/' API and one for the newer swconfig-based switch configuration.
-
-=== /proc/switch ===
-
-This variant is actually only found on Broadcom devices like the WRT54GL.
-
-A typical configuration for it looks like this:
-
-----
-config 'switch' 'eth0'
-	option 'vlan0' '0 1 2 3 5*'
-	option 'vlan1' '4 5'
-----
-
-The 'eth0' identifier specifies the switch the section is belonging to.
-VLANs are defined by 'vlan#' options with '#' being the VLAN number.
-
-=== swconfig ===
-
-The newer swconfig framework is intended to replace the legacy switch configuration.
-
-Configuration for swconfig have a slightly different structure with one extra section per VLAN.
 The example below shows a typical configuration:
 
 ----



More information about the lede-commits mailing list