From 169e1845216fb3fe7c436ef0e37e02a0bcc182b0 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 1 Aug 2013 14:31:15 +0000 Subject: ramips: add Poray IP2202 support Signed-off-by: Felix Kaechele SVN-Revision: 37640 --- target/linux/ramips/base-files/etc/diag.sh | 3 +++ target/linux/ramips/base-files/etc/uci-defaults/02_network | 1 + target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 5 files changed, 9 insertions(+) (limited to 'target/linux/ramips/base-files') diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 689fee7104..6ecb13352c 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -45,6 +45,9 @@ get_status_led() { fonera20n) status_led="fonera20n:green:power" ;; + ip2202) + status_led="ip2202:green:run" + ;; rt-n13u) status_led="rt-n13u:power" ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network index 2df7b0842b..ef13e364a5 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -173,6 +173,7 @@ ramips_setup_macs() broadway | \ dir-620-d1 | \ f5d8235-v1 | \ + ip2202 | \ mpr-a1 | \ mpr-a2 | \ mzk-w300nh2 | \ diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index 6712154dc4..a0d9b6123b 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -60,6 +60,7 @@ preinit_set_mac_address() { carambola |\ dir-615-h1 |\ fonera20n |\ + ip2202 |\ rt-n13u |\ hw550-3g |\ nbg-419n |\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 6960c6d401..858a8092e7 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -148,6 +148,9 @@ ramips_board_detect() { *"Planex MZK-W300NH2"*) name="mzk-w300nh2" ;; + *"Poray IP2202") + name="ip2202" + ;; *"Poray M3") name="m3" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index df3b32479d..e85beada39 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() { freestation5 | \ hw550-3g | \ hg255d | \ + ip2202 | \ m3 | \ m4 | \ mofi3500-3gn | \ -- cgit v1.2.3