summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-01 14:31:15 +0000
committerJohn Crispin <john@openwrt.org>2013-08-01 14:31:15 +0000
commit169e1845216fb3fe7c436ef0e37e02a0bcc182b0 (patch)
treef5b1269047a32d85ab6451f0a0baf0b89b603df6 /target/linux/ramips/base-files
parentce4228b41708ddc3a76d81c5837b619071585a99 (diff)
downloadmtk-20170518-169e1845216fb3fe7c436ef0e37e02a0bcc182b0.zip
mtk-20170518-169e1845216fb3fe7c436ef0e37e02a0bcc182b0.tar.gz
mtk-20170518-169e1845216fb3fe7c436ef0e37e02a0bcc182b0.tar.bz2
ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37640
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 689fee7..6ecb133 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 2df7b08..ef13e36 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 6712154..a0d9b61 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 6960c6d..858a809 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 df3b324..e85bead 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 | \