[OpenWrt-Devel] [PATCH CC 01/13] ar71xx: add kernel support for the OpenMesh OM2P-HSv3

Sven Eckelmann sven.eckelmann at open-mesh.com
Fri Jun 17 09:24:41 EDT 2016


Signed-off-by: Sven Eckelmann <sven.eckelmann at open-mesh.com>
---
Based on following CC backports from 2016-05-19:

 * https://patchwork.ozlabs.org/patch/624172/
 * https://patchwork.ozlabs.org/patch/624173/
 * https://patchwork.ozlabs.org/patch/624174/
 * https://patchwork.ozlabs.org/patch/624175/
 * https://patchwork.ozlabs.org/patch/624176/
 * https://patchwork.ozlabs.org/patch/624177/
 * https://patchwork.ozlabs.org/patch/624178/
 * https://patchwork.ozlabs.org/patch/624179/
 * https://patchwork.ozlabs.org/patch/624180/
 * https://patchwork.ozlabs.org/patch/624181/
 * https://patchwork.ozlabs.org/patch/624182/
 * https://patchwork.ozlabs.org/patch/624183/
 * https://patchwork.ozlabs.org/patch/624184/
 * https://patchwork.ozlabs.org/patch/624185/
 * https://patchwork.ozlabs.org/patch/624186/
 * https://patchwork.ozlabs.org/patch/624187/
 * https://patchwork.ozlabs.org/patch/624188/
 * https://patchwork.ozlabs.org/patch/624189/
 * https://patchwork.ozlabs.org/patch/624190/
 * https://patchwork.ozlabs.org/patch/624191/
 * https://patchwork.ozlabs.org/patch/624192/
 * https://patchwork.ozlabs.org/patch/624193/
 * https://patchwork.ozlabs.org/patch/624194/
 * https://patchwork.ozlabs.org/patch/624195/
 * https://patchwork.ozlabs.org/patch/624196/
 * https://patchwork.ozlabs.org/patch/624197/
 * https://patchwork.ozlabs.org/patch/624198/
 * https://patchwork.ozlabs.org/patch/624199/
 * https://patchwork.ozlabs.org/patch/624200/
 * https://patchwork.ozlabs.org/patch/624201/
 * https://patchwork.ozlabs.org/patch/624202/
 * https://patchwork.ozlabs.org/patch/624203/
 * https://patchwork.ozlabs.org/patch/624200/
 * https://patchwork.ozlabs.org/patch/624205/

It is a backport of the patch for trunk from 2016-05-20 which waits to be
accepted as well:

 * https://patchwork.ozlabs.org/patch/624536/

 target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c          |  1 +
 .../patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch     | 10 ++++++++++
 2 files changed, 11 insertions(+)
 create mode 100644 target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
index 6b0bdc3..3b282a3 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
@@ -223,3 +223,4 @@ static void __init om2p_hs_setup(void)
 
 MIPS_MACHINE(ATH79_MACH_OM2P_HS, "OM2P-HS", "OpenMesh OM2P HS", om2p_hs_setup);
 MIPS_MACHINE(ATH79_MACH_OM2P_HSv2, "OM2P-HSv2", "OpenMesh OM2P HSv2", om2p_hs_setup);
+MIPS_MACHINE(ATH79_MACH_OM2P_HSv3, "OM2P-HSv3", "OpenMesh OM2P HSv3", om2p_hs_setup);
diff --git a/target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch b/target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch
new file mode 100644
index 0000000..7305b2e
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -88,6 +88,7 @@ enum ath79_mach_type {
+ 	ATH79_MACH_NBG460N,		/* Zyxel NBG460N/550N/550NH */
+ 	ATH79_MACH_NBG6716,		/* Zyxel NBG6716 */
+ 	ATH79_MACH_OM2P_HSv2,		/* OpenMesh OM2P-HSv2 */
++	ATH79_MACH_OM2P_HSv3,		/* OpenMesh OM2P-HSv3 */
+ 	ATH79_MACH_OM2P_HS,		/* OpenMesh OM2P-HS */
+ 	ATH79_MACH_OM2P_LC,		/* OpenMesh OM2P-LC */
+ 	ATH79_MACH_OM2Pv2,		/* OpenMesh OM2Pv2 */
-- 
2.8.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list