summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-14 16:54:58 +0000
committerJohn Crispin <john@openwrt.org>2014-11-14 16:54:58 +0000
commitbc333d53993935ad168578cc5d02ca27f325727f (patch)
tree1bc2f40aa81ad0ff7f1ce515cd5ab5bca186e444 /target/linux/ar71xx
parent305c1431e308b1d498dc5e47e77dcc311910b1d3 (diff)
downloadmtk-20170518-bc333d53993935ad168578cc5d02ca27f325727f.zip
mtk-20170518-bc333d53993935ad168578cc5d02ca27f325727f.tar.gz
mtk-20170518-bc333d53993935ad168578cc5d02ca27f325727f.tar.bz2
ar71xx: add kernel support for the OpenMesh MR900v2
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 43265
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c1
-rw-r--r--target/linux/ar71xx/patches-3.10/731-MIPS-ath79-add-mr900v2-support.patch10
-rw-r--r--target/linux/ar71xx/patches-3.14/731-MIPS-ath79-add-mr900v2-support.patch10
3 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c
index 5bbffb1..fe3e1fa 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c
@@ -156,3 +156,4 @@ static void __init mr900_setup(void)
}
MIPS_MACHINE(ATH79_MACH_MR900, "MR900", "OpenMesh MR900", mr900_setup);
+MIPS_MACHINE(ATH79_MACH_MR900v2, "MR900v2", "OpenMesh MR900v2", mr900_setup);
diff --git a/target/linux/ar71xx/patches-3.10/731-MIPS-ath79-add-mr900v2-support.patch b/target/linux/ar71xx/patches-3.10/731-MIPS-ath79-add-mr900v2-support.patch
new file mode 100644
index 0000000..be51a8e
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.10/731-MIPS-ath79-add-mr900v2-support.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -66,6 +66,7 @@ enum ath79_mach_type {
+ ATH79_MACH_MR600V2, /* OpenMesh MR600v2 */
+ ATH79_MACH_MR600, /* OpenMesh MR600 */
+ ATH79_MACH_MR900, /* OpenMesh MR900 */
++ ATH79_MACH_MR900v2, /* OpenMesh MR900v2 */
+ ATH79_MACH_MYNET_N600, /* WD My Net N600 */
+ ATH79_MACH_MYNET_N750, /* WD My Net N750 */
+ ATH79_MACH_MYNET_REXT, /* WD My Net Wi-Fi Range Extender */
diff --git a/target/linux/ar71xx/patches-3.14/731-MIPS-ath79-add-mr900v2-support.patch b/target/linux/ar71xx/patches-3.14/731-MIPS-ath79-add-mr900v2-support.patch
new file mode 100644
index 0000000..be51a8e
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.14/731-MIPS-ath79-add-mr900v2-support.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -66,6 +66,7 @@ enum ath79_mach_type {
+ ATH79_MACH_MR600V2, /* OpenMesh MR600v2 */
+ ATH79_MACH_MR600, /* OpenMesh MR600 */
+ ATH79_MACH_MR900, /* OpenMesh MR900 */
++ ATH79_MACH_MR900v2, /* OpenMesh MR900v2 */
+ ATH79_MACH_MYNET_N600, /* WD My Net N600 */
+ ATH79_MACH_MYNET_N750, /* WD My Net N750 */
+ ATH79_MACH_MYNET_REXT, /* WD My Net Wi-Fi Range Extender */