aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-02-17 09:18:09 +0100
committerMathias Kresin <dev@kresin.me>2018-02-20 19:25:17 +0100
commitc330408ea92d9bf6af187b90d2f3f513d4d8ed8a (patch)
tree939a909fad41edce7201102a023c3c50cbfe093e /target/linux/ramips/base-files
parent6eaf8b3d89571992a0aa7142cfab3f1dcef3c802 (diff)
downloadupstream-c330408ea92d9bf6af187b90d2f3f513d4d8ed8a.tar.gz
upstream-c330408ea92d9bf6af187b90d2f3f513d4d8ed8a.tar.bz2
upstream-c330408ea92d9bf6af187b90d2f3f513d4d8ed8a.zip
ramips: use generic board detection for D-Link DAP-1522 A1
Use the generic board detection for the D-Link DAP-1522 A1 instead of the target specific one as all recent additions are doing. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh2
-rw-r--r--target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum2
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
4 files changed, 3 insertions, 6 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 8f0a2b0725..4208321e69 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -242,7 +242,7 @@ ramips_setup_interfaces()
;;
cs-qr10|\
d105|\
- dap-1522-a1|\
+ dlink,dap-1522-a1|\
dch-m225|\
ex2700|\
ex3700|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 342a648687..04a398c826 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -147,7 +147,7 @@ get_status_led() {
youku-yk1)
status_led="$boardname:blue:power"
;;
- dap-1522-a1|\
+ dlink,dap-1522-a1|\
k2p|\
m3|\
mir3g|\
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum
index 7e579316b5..54deb5b2e0 100644
--- a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum
+++ b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum
@@ -20,7 +20,7 @@ dir-645 | \
dir-860l-b1)
fix_checksum seama
;;
-dap-1522-a1)
+dlink,dap-1522-a1)
fix_checksum wrg
;;
esac
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 9738f01dfe..74ed5913b8 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -112,9 +112,6 @@ ramips_board_detect() {
*"DAP-1350")
name="dap-1350"
;;
- *"DAP-1522 A1")
- name="dap-1522-a1"
- ;;
*"DB-WRT01")
name="db-wrt01"
;;