From dd922e54039cc2f9e90d5e6687f00ef745c4d9f1 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Wed, 5 Nov 2014 14:37:13 +0000 Subject: [ramips]: add support for the Linksys E1700 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43186 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/board.d/02_network | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/ramips/base-files/etc/board.d') diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 52e27c5321..924be3665e 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -221,6 +221,7 @@ ramips_setup_interfaces() ucidef_set_interface_lan "eth0" ;; + e1700 | \ mt7620a_mt7530) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch1" "1" "1" @@ -302,6 +303,10 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_ascii nvram wanmac) ;; + e1700) + wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR) + ;; + wcr-150gn) wan_mac=$(mtd_get_mac_binary factory 40) ;; -- cgit v1.2.3