lantiq: Fix ar8216 switch configuration
authorJohn Crispin <john@openwrt.org>
Thu, 30 May 2013 16:00:59 +0000 (16:00 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 30 May 2013 16:00:59 +0000 (16:00 +0000)
On linux 3.8 the switch is named as "switch0", but the network configuration script names it as "eth0", causing no communication over ethernet due to no proper VLAN config.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 36782

target/linux/lantiq/base-files/etc/uci-defaults/02_network

index a48fc684db729b1293c81b3c0027e124226e7642..9ae7c70cc68c2b93c40c286a8d3a255cca9c6b95 100755 (executable)
@@ -60,8 +60,8 @@ ACMP252|GIGASX76X)
 # ar8316
 ARV4519PW|ARV7518PW)
        ucidef_set_interface_lan "eth0.1"
-       ucidef_add_switch "eth0" "1" "1"
-       ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
        ;;
 
 WBMR)