lantiq: add default lan setup to board.d script
authorJohn Crispin <john@phrozen.org>
Tue, 7 Jun 2016 16:59:26 +0000 (18:59 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 13 Jun 2016 20:51:41 +0000 (22:51 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
target/linux/lantiq/base-files/etc/board.d/02_network

index 89ffc79b0f68e34ce18694e76203d1d080e98b08..864ab2730b72355709c602ba4476a776b7b7e629 100755 (executable)
@@ -145,6 +145,9 @@ VGV7510KW22)
        ucidef_add_switch "switch0" \
                "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6t@eth0"
        ;;
+*)
+       ucidef_set_interface_lan 'eth0'
+       ;;
 
 WBMR300)
        lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)