0022-MIPS-ralink-Fix-vendor-string-for-mt7620.patch 914 B

123456789101112131415161718192021222324252627
  1. From 3bca798b859c75063b3b4e65f6b019c7a4bd53ef Mon Sep 17 00:00:00 2001
  2. From: John Crispin <blogic@openwrt.org>
  3. Date: Mon, 4 Jan 2016 20:23:59 +0100
  4. Subject: [PATCH] MIPS: ralink: Fix vendor string for mt7620
  5. Ralink was acquired by Mediatek. Represent this in the cpuinfo. It
  6. apparently confused people.
  7. Signed-off-by: John Crispin <blogic@openwrt.org>
  8. Cc: linux-mips@linux-mips.org
  9. Patchwork: https://patchwork.linux-mips.org/patch/11994/
  10. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  11. ---
  12. arch/mips/ralink/mt7620.c | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. --- a/arch/mips/ralink/mt7620.c
  15. +++ b/arch/mips/ralink/mt7620.c
  16. @@ -575,7 +575,7 @@ void prom_soc_init(struct ralink_soc_inf
  17. }
  18. snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
  19. - "Ralink %s ver:%u eco:%u",
  20. + "MediaTek %s ver:%u eco:%u",
  21. name,
  22. (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
  23. (rev & CHIP_REV_ECO_MASK));