summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-11-05 14:37:13 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-11-05 14:37:13 +0000
commitd738d22bf8303bd84e925b2b0c90793a1f3d89e5 (patch)
treef9073ccdf48189f59d68260fe5fc25dc336382ce /target/linux/ramips/base-files/etc/board.d/02_network
parentd82cf547d0bf392c7af32659e5c391a9ee511e22 (diff)
downloadmaster-31e0f0ae-d738d22bf8303bd84e925b2b0c90793a1f3d89e5.tar.gz
master-31e0f0ae-d738d22bf8303bd84e925b2b0c90793a1f3d89e5.tar.bz2
master-31e0f0ae-d738d22bf8303bd84e925b2b0c90793a1f3d89e5.zip
add support for the Linksys E1700
SVN-Revision: 43186
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
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)
;;