Explorar o código

lantiq: DGN3500 fixups

Just fixing up a few things for the Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <[email protected]>

SVN-Revision: 38733
John Crispin %!s(int64=12) %!d(string=hai) anos
pai
achega
000cefd85e

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

@@ -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"

+ 1 - 1
target/linux/lantiq/dts/DGN3500.dtsi

@@ -2,7 +2,7 @@
 
 / {
 	chosen {
-		bootargs-append = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
 	};
 
 	memory@0 {