mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
79675604b2
commit
24ebe34bfd
22
target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch
Normal file
22
target/linux/ramips/patches-3.18/0302-mt762x-vendor-id.patch
Normal file
@ -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));
|
||||
Loading…
x
Reference in New Issue
Block a user