aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-02 10:51:41 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-02 10:51:41 +0000
commit24ebe34bfd71adf4f5dfdfa87017cccbd354fd1a (patch)
tree427937a7e28dc17af9e1551b5208ef117c9f6ca8 /target
parent79675604b2242422f247b282dfb3073a30873813 (diff)
downloadupstream-24ebe34bfd71adf4f5dfdfa87017cccbd354fd1a.tar.gz
upstream-24ebe34bfd71adf4f5dfdfa87017cccbd354fd1a.tar.bz2
upstream-24ebe34bfd71adf4f5dfdfa87017cccbd354fd1a.zip
ramips: fix reported vendor name
Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46958 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47094 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 0000000000..6b05a13abd
--- /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));