diff options
author | Luka Perkov <luka@openwrt.org> | 2014-11-10 23:55:10 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-11-10 23:55:10 +0000 |
commit | 4f1a9470f067cc5df76571e9d06b7d9240fcc0a3 (patch) | |
tree | 92e637a61e2a6bb04dc14c438e517fe352a01998 /target/linux/kirkwood/base-files | |
parent | a69ebe234d46ca95cbcbcba7f4ef9bae598eb95b (diff) | |
download | mtk-20170518-4f1a9470f067cc5df76571e9d06b7d9240fcc0a3.zip mtk-20170518-4f1a9470f067cc5df76571e9d06b7d9240fcc0a3.tar.gz mtk-20170518-4f1a9470f067cc5df76571e9d06b7d9240fcc0a3.tar.bz2 |
kirkwood: add support for Linksys EA3500
http://wiki.openwrt.org/toh/linksys/ea3500
Signed-off-by: Dan Walters <dan@walters.io>
SVN-Revision: 43230
Diffstat (limited to 'target/linux/kirkwood/base-files')
3 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds index 07c1a0e..41191f7 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds @@ -13,6 +13,9 @@ case "$board" in ucidef_set_led_default "health" "status:green:health" "1" ucidef_set_led_default "fault" "status:orange:fault" "1" ;; +"ea3500") + ucidef_set_led_default "power" "ea3500:green:power" "1" + ;; "ea4500") ucidef_set_led_default "health" "ea4500:white:health" "1" ucidef_set_led_default "pulse" "ea4500:white:pulse" "1" diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network index e795d65..bc7e793 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network @@ -40,6 +40,9 @@ case "$board" in "pogo_e02") set_lan_dhcp "eth0" ;; +"ea3500") + ucidef_set_interfaces_lan_wan "eth0" "eth1" + ;; "ea4500") ucidef_set_interfaces_lan_wan "eth0" "eth1" ;; diff --git a/target/linux/kirkwood/base-files/lib/kirkwood.sh b/target/linux/kirkwood/base-files/lib/kirkwood.sh index ba080f4..323a997 100755 --- a/target/linux/kirkwood/base-files/lib/kirkwood.sh +++ b/target/linux/kirkwood/base-files/lib/kirkwood.sh @@ -29,6 +29,10 @@ kirkwood_board_detect() { name="pogo_e02" ;; + "Linksys EA3500") + name="ea3500" + ;; + "Linksys EA4500") name="ea4500" ;; |