Author: blogic
Date: 2015-10-02 12:51:41 +0200 (Fri, 02 Oct 2015)
New Revision: 47094

Added:
   
branches/chaos_calmer/target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch
Log:
ramips: fix reported vendor name

Signed-off-by: John Crispin <[email protected]>

Backport of r46958

Added: 
branches/chaos_calmer/target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch
===================================================================
--- 
branches/chaos_calmer/target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch
                          (rev 0)
+++ 
branches/chaos_calmer/target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch
  2015-10-02 10:51:41 UTC (rev 47094)
@@ -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));
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to