Changeset 37507


Ignore:
Timestamp:
2013-07-22T18:02:13+02:00 (3 years ago)
Author:
juhosg
Message:

ar71xx: fix switch port map for the Archer C7

The correct port number for the WAN port is 1.
Update the VLAN port maps to reflect that.

https://forum.openwrt.org/viewtopic.php?pid=203755#p203755

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network

    r36800 r37507  
    3838 
    3939ap136-020 |\ 
    40 ap135-020 |\ 
     40ap135-020) 
     41        ucidef_set_interfaces_lan_wan "eth1" "eth0" 
     42        ucidef_add_switch "switch0" "1" "1" 
     43        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" 
     44        ucidef_add_switch_vlan "switch0" "2" "5 6" 
     45        ;; 
     46 
    4147archer-c7) 
    4248        ucidef_set_interfaces_lan_wan "eth1" "eth0" 
    4349        ucidef_add_switch "switch0" "1" "1" 
    44         ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" 
    45         ucidef_add_switch_vlan "switch0" "2" "5 6" 
     50        ucidef_add_switch_vlan "switch0" "1" "0 2 3 4 5" 
     51        ucidef_add_switch_vlan "switch0" "2" "1 6" 
    4652        ;; 
    4753 
Note: See TracChangeset for help on using the changeset viewer.