lantiq: DGN3500 fixups
authorJohn Crispin <john@openwrt.org>
Mon, 11 Nov 2013 13:15:08 +0000 (13:15 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 11 Nov 2013 13:15:08 +0000 (13:15 +0000)
Just fixing up a few things for the Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 38733

target/linux/lantiq/base-files/etc/uci-defaults/02_network
target/linux/lantiq/dts/DGN3500.dtsi

index ed556fca190bc48382417242ea948511d6a4f7a0..3262f080c3a65f2c204fcc9d6364e864398c34c1 100644 (file)
@@ -78,6 +78,8 @@ VG3503J)
        ;;
 
 DGN3500*)
+       lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
+       wan_mac=$(macaddr_add "$lan_mac" 1)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "3 2 1 0 5t"
index e2641dc0ddb4e617382d910a55cce13719d6f55b..e77d823ae303013de06531ca7c6367974910a445 100644 (file)
@@ -2,7 +2,7 @@
 
 / {
        chosen {
-               bootargs-append = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
        };
 
        memory@0 {