0091-ar71xx-add-kernel-support-for-the-OpenMesh-OM2P-HSv3.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  2. Date: Fri, 20 May 2016 18:03:48 +0200
  3. Subject: ar71xx: add kernel support for the OpenMesh OM2P-HSv3
  4. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  5. Forwarded: https://patchwork.ozlabs.org/patch/637052/
  6. diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
  7. index 6b0bdc3..3b282a3 100644
  8. --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
  9. +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
  10. @@ -223,3 +223,4 @@ static void __init om2p_hs_setup(void)
  11. MIPS_MACHINE(ATH79_MACH_OM2P_HS, "OM2P-HS", "OpenMesh OM2P HS", om2p_hs_setup);
  12. MIPS_MACHINE(ATH79_MACH_OM2P_HSv2, "OM2P-HSv2", "OpenMesh OM2P HSv2", om2p_hs_setup);
  13. +MIPS_MACHINE(ATH79_MACH_OM2P_HSv3, "OM2P-HSv3", "OpenMesh OM2P HSv3", om2p_hs_setup);
  14. 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
  15. new file mode 100644
  16. index 0000000..7305b2e
  17. --- /dev/null
  18. +++ b/target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch
  19. @@ -0,0 +1,10 @@
  20. +--- a/arch/mips/ath79/machtypes.h
  21. ++++ b/arch/mips/ath79/machtypes.h
  22. +@@ -88,6 +88,7 @@ enum ath79_mach_type {
  23. + ATH79_MACH_NBG460N, /* Zyxel NBG460N/550N/550NH */
  24. + ATH79_MACH_NBG6716, /* Zyxel NBG6716 */
  25. + ATH79_MACH_OM2P_HSv2, /* OpenMesh OM2P-HSv2 */
  26. ++ ATH79_MACH_OM2P_HSv3, /* OpenMesh OM2P-HSv3 */
  27. + ATH79_MACH_OM2P_HS, /* OpenMesh OM2P-HS */
  28. + ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
  29. + ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */