ramips: fix reported vendor name
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-3.18 / 0302-mt762x-vendor-id.patch
1 --- a/arch/mips/ralink/mt7620.c
2 +++ b/arch/mips/ralink/mt7620.c
3 @@ -555,7 +555,7 @@
4 }
5
6 snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
7 - "Ralink %s ver:%u eco:%u",
8 + "MediaTek %s ver:%u eco:%u",
9 name,
10 (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
11 (rev & CHIP_REV_ECO_MASK));
12 --- a/arch/mips/ralink/mt7621.c
13 +++ b/arch/mips/ralink/mt7621.c
14 @@ -168,7 +168,7 @@
15 rev = __raw_readl(sysc + SYSC_REG_CHIP_REV);
16
17 snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
18 - "Mediatek %s ver:%u eco:%u",
19 + "MediaTek %s ver:%u eco:%u",
20 name,
21 (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
22 (rev & CHIP_REV_ECO_MASK));