aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch
diff options
context:
space:
mode:
authorRyan Mounce <ryan@mounce.com.au>2017-03-17 14:30:33 +1030
committerPiotr Dymacz <pepe2k@gmail.com>2017-03-23 09:35:14 +0100
commit978998628fe98f8cfc81910b851e5a3dfd316bac (patch)
treea40bf92395cecfe94658cdef6a33d1eda6846e3d /target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch
parent540edf704501db3ec8dcb278a7f1df52de222ae0 (diff)
downloadupstream-978998628fe98f8cfc81910b851e5a3dfd316bac.tar.gz
upstream-978998628fe98f8cfc81910b851e5a3dfd316bac.tar.bz2
upstream-978998628fe98f8cfc81910b851e5a3dfd316bac.zip
ar71xx: add support for MikroTik hAP ac
This patch adds initial support for the MikroTik RouterBOARD hAP ac (RB962UiGS-5HacT2HnT). All functions are supported except: -SFP cage (eth1) is not working -WLAN LEDs are not working Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
Diffstat (limited to 'target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch')
-rw-r--r--target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch b/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch
index 545de81416..cd91ac3c02 100644
--- a/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch
+++ b/target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/ath79/prom.c
+++ b/arch/mips/ath79/prom.c
-@@ -136,6 +136,26 @@ void __init prom_init(void)
+@@ -136,6 +136,27 @@ void __init prom_init(void)
initrd_end = initrd_start + fw_getenvl("initrd_size");
}
#endif
@@ -17,6 +17,7 @@
+ strstr(arcs_cmdline, "board=H951L") ||
+ strstr(arcs_cmdline, "board=952-hb") ||
+ strstr(arcs_cmdline, "board=953gs") ||
++ strstr(arcs_cmdline, "board=962") ||
+ strstr(arcs_cmdline, "board=lhg") ||
+ strstr(arcs_cmdline, "board=map-hb") ||
+ strstr(arcs_cmdline, "board=2011L") ||