0097-ar71xx-add-kernel-support-for-the-OpenMesh-MR1750v2.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  2. Date: Fri, 20 May 2016 18:03:54 +0200
  3. Subject: ar71xx: add kernel support for the OpenMesh MR1750v2
  4. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  5. Forwarded: https://patchwork.ozlabs.org/patch/637058/
  6. diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr1750.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr1750.c
  7. index e3c04e7..18101ce 100644
  8. --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr1750.c
  9. +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr1750.c
  10. @@ -168,3 +168,4 @@ static void __init mr1750_setup(void)
  11. }
  12. MIPS_MACHINE(ATH79_MACH_MR1750, "MR1750", "OpenMesh MR1750", mr1750_setup);
  13. +MIPS_MACHINE(ATH79_MACH_MR1750V2, "MR1750v2", "OpenMesh MR1750v2", mr1750_setup);
  14. diff --git a/target/linux/ar71xx/patches-3.18/818-MIPS-ath79-add-mr1750v2-support.patch b/target/linux/ar71xx/patches-3.18/818-MIPS-ath79-add-mr1750v2-support.patch
  15. new file mode 100644
  16. index 0000000..de732ec
  17. --- /dev/null
  18. +++ b/target/linux/ar71xx/patches-3.18/818-MIPS-ath79-add-mr1750v2-support.patch
  19. @@ -0,0 +1,10 @@
  20. +--- a/arch/mips/ath79/machtypes.h
  21. ++++ b/arch/mips/ath79/machtypes.h
  22. +@@ -76,6 +76,7 @@ enum ath79_mach_type {
  23. + ATH79_MACH_MR12, /* Cisco Meraki MR12 */
  24. + ATH79_MACH_MR16, /* Cisco Meraki MR16 */
  25. + ATH79_MACH_MR1750, /* OpenMesh MR1750 */
  26. ++ ATH79_MACH_MR1750V2, /* OpenMesh MR1750v2 */
  27. + ATH79_MACH_MR600V2, /* OpenMesh MR600v2 */
  28. + ATH79_MACH_MR600, /* OpenMesh MR600 */
  29. + ATH79_MACH_MR900, /* OpenMesh MR900 */