aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-11 13:15:08 +0000
committerJohn Crispin <blogic@openwrt.org>2013-11-11 13:15:08 +0000
commitff91a491c3acf41e378e8fc78a43c94f72865973 (patch)
treee5a1a0bc2dff0f461b41329996fd36ea049b2b46
parentc78ccc64f3c350ca613631899086b9a9fe8e50e0 (diff)
downloadupstream-ff91a491c3acf41e378e8fc78a43c94f72865973.tar.gz
upstream-ff91a491c3acf41e378e8fc78a43c94f72865973.tar.bz2
upstream-ff91a491c3acf41e378e8fc78a43c94f72865973.zip
lantiq: DGN3500 fixups
Just fixing up a few things for the Netgear DGN3500. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38733 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network2
-rw-r--r--target/linux/lantiq/dts/DGN3500.dtsi2
2 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index ed556fca19..3262f080c3 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/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"
diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi
index e2641dc0dd..e77d823ae3 100644
--- a/target/linux/lantiq/dts/DGN3500.dtsi
+++ b/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 {