From: John Crispin Date: Wed, 16 Sep 2015 08:31:10 +0000 (+0000) Subject: ramips: fix reported vendor name X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e6a9d5edf2a037c8bf46a0a895a791086e6c9e93;p=openwrt%2Fstaging%2Fkaloz.git ramips: fix reported vendor name Signed-off-by: John Crispin SVN-Revision: 46958 --- 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));