0302-mt762x-vendor-id.patch 719 B

12345678910111213141516171819202122
  1. --- a/arch/mips/ralink/mt7620.c
  2. +++ b/arch/mips/ralink/mt7620.c
  3. @@ -555,7 +555,7 @@ void prom_soc_init(struct ralink_soc_inf
  4. }
  5. snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
  6. - "Ralink %s ver:%u eco:%u",
  7. + "MediaTek %s ver:%u eco:%u",
  8. name,
  9. (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
  10. (rev & CHIP_REV_ECO_MASK));
  11. --- a/arch/mips/ralink/mt7621.c
  12. +++ b/arch/mips/ralink/mt7621.c
  13. @@ -168,7 +168,7 @@ void prom_soc_init(struct ralink_soc_inf
  14. rev = __raw_readl(sysc + SYSC_REG_CHIP_REV);
  15. snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
  16. - "Mediatek %s ver:%u eco:%u",
  17. + "MediaTek %s ver:%u eco:%u",
  18. name,
  19. (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
  20. (rev & CHIP_REV_ECO_MASK));