summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-09-16 08:31:10 +0000
committerJohn Crispin <john@openwrt.org>2015-09-16 08:31:10 +0000
commite6a9d5edf2a037c8bf46a0a895a791086e6c9e93 (patch)
tree5b1453c2f52daee18634595d55de2afb0d026511 /target/linux/ramips
parent86a1e46b6359d1b187cfd912295f544145ab6a88 (diff)
downloadmtk-20170518-e6a9d5edf2a037c8bf46a0a895a791086e6c9e93.zip
mtk-20170518-e6a9d5edf2a037c8bf46a0a895a791086e6c9e93.tar.gz
mtk-20170518-e6a9d5edf2a037c8bf46a0a895a791086e6c9e93.tar.bz2
ramips: fix reported vendor name
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46958
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch b/target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch
new file mode 100644
index 0000000..6b05a13
--- /dev/null
+++ b/target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch
@@ -0,0 +1,22 @@
+--- a/arch/mips/ralink/mt7620.c
++++ b/arch/mips/ralink/mt7620.c
+@@ -555,7 +555,7 @@
+ }
+
+ snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
+- "Ralink %s ver:%u eco:%u",
++ "MediaTek %s ver:%u eco:%u",
+ name,
+ (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
+ (rev & CHIP_REV_ECO_MASK));
+--- a/arch/mips/ralink/mt7621.c
++++ b/arch/mips/ralink/mt7621.c
+@@ -168,7 +168,7 @@
+ rev = __raw_readl(sysc + SYSC_REG_CHIP_REV);
+
+ snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
+- "Mediatek %s ver:%u eco:%u",
++ "MediaTek %s ver:%u eco:%u",
+ name,
+ (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
+ (rev & CHIP_REV_ECO_MASK));