Changeset 28336


Ignore:
Timestamp:
2011-09-30T14:55:33+02:00 (5 years ago)
Author:
florian
Message:

[brcm47xx]: add vlan definitions for Siemens SE505v2

Hi,

this patch adds the correct vlan definitions for the Siemens SE505v2. It
applies to trunk as well as backfire (please apply here too). On
backfire this also patches brcm-2,4, because brcm47xx base-files is just
symlinked to brcm-2.4.

It also fixes two whitespace issues.

Tested with brcm47xx on both trunk and backfire branch and works as
expected.

Signed-off-by: Manuel Munz <freifunk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/base-files/etc/init.d/netconfig

    r28024 r28336  
    190190                        c["vlan1ports"]="0 5" 
    191191                } 
    192  
    193                 if (model == "Motorola WR850G V2/V3") { 
     192                if ((model == "Motorola WR850G V2/V3") || (model == "Siemens SE505 V2")) { 
    194193                        c["vlan0ports"]="0 1 2 3 5" 
    195194                        c["vlan1ports"]="4 5" 
     
    212211                        print "config switch eth0" 
    213212                        print " option enable   1" 
    214                         print ""                 
     213                        print "" 
    215214                        vlan(0, "vlan0ports") 
    216215                        vlan(1, "vlan1ports") 
Note: See TracChangeset for help on using the changeset viewer.