diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-11-05 14:37:13 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-11-05 14:37:13 +0000 |
commit | dd922e54039cc2f9e90d5e6687f00ef745c4d9f1 (patch) | |
tree | 637404c0270bf341d5e9d5d2865c4a659b28df80 /target/linux/ramips/base-files | |
parent | 484ac56d7f1ba67f62aa15a4fd83040bc63fa2ac (diff) | |
download | master-187ad058-dd922e54039cc2f9e90d5e6687f00ef745c4d9f1.tar.gz master-187ad058-dd922e54039cc2f9e90d5e6687f00ef745c4d9f1.tar.bz2 master-187ad058-dd922e54039cc2f9e90d5e6687f00ef745c4d9f1.zip |
[ramips]: add support for the Linksys E1700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43186 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 12 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) ;; diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 709158be1d..b743c8408a 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -48,6 +48,9 @@ get_status_led() { dap-1350) status_led="d-link:blue:power" ;; + e1700) + status_led="linksys:green:power" + ;; esr-9753) status_led="esr-9753:orange:power" ;; diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index a02bcf9674..e42f719cd8 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -175,6 +175,9 @@ ramips_board_detect() { *"Kingston MLW221") name="mlw221" ;; + *"Linksys E1700") + name="e1700" + ;; *"Planex MZK-750DHP") name="mzk-750dhp" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index decbc546fd..19793c20fb 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -44,6 +44,7 @@ platform_check_image() { dir-620-a1 | \ dir-620-d1 | \ dir-810l | \ + e1700 | \ esr-9753 | \ f7c027 | \ fonera20n | \ |