diff options
author | Florian Beier <beier.florian@gmail.com> | 2016-10-11 20:32:26 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-10-11 22:58:37 +0200 |
commit | 5abeba3450f0ca436a8e83089a0031fd279fc569 (patch) | |
tree | 64b258a5b2429271df6a014dd0b1badf9de4add6 /target/linux/ar71xx/base-files/etc | |
parent | 594f0e80ce134ede667a4bd831f63a73aaa00b0b (diff) | |
download | upstream-5abeba3450f0ca436a8e83089a0031fd279fc569.tar.gz upstream-5abeba3450f0ca436a8e83089a0031fd279fc569.tar.bz2 upstream-5abeba3450f0ca436a8e83089a0031fd279fc569.zip |
ar71xx: add userspace support for D-Link DIR-869 A1, generate images
Signed-off-by: Florian Beier <beier.florian@gmail.com>
[Matthias Schiffer: fix factory image, improve commit message]
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
3 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index a2bd6b11bc..4ef43cf5a4 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -285,6 +285,7 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "1:lan" "3@eth1" ;; + dir-869-a1|\ epg5000|\ esr1750) ucidef_add_switch "switch0" \ @@ -434,6 +435,7 @@ ar71xx_setup_macs() esr900) wan_mac=$(mtd_get_mac_ascii u-boot-env "wanaddr") ;; + dir-869-a1|\ mynet-n750) wan_mac=$(mtd_get_mac_ascii devdata "wanmac") ;; diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index d6e257d637..d5ddb51240 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -110,6 +110,9 @@ get_status_led() { dir-835-a1) status_led="d-link:amber:power" ;; + dir-869-a1) + status_led="d-link:white:status" + ;; dlan-hotspot) status_led="devolo:green:wifi" ;; diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 0e93feb19c..a0a111b3d1 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -62,6 +62,7 @@ case "$FIRMWARE" in ath10kcal_extract "caldata" 20480 2116 ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) +2) ;; + dir-869-a1 | \ qihoo-c301) ath10kcal_extract "radiocfg" 20480 2116 ath10kcal_patch_mac $(mtd_get_mac_ascii devdata wlan5mac) |