From 4baa5f5378a559a80ba3834706214ebd2bb2ea04 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 24 Nov 2011 20:09:38 +0000 Subject: ar71xx: fix wndr3800 machine name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the machine name in /proc/cpuinfo and luci status page machine name. Signed-off-by: Petri Rosenström git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c | 2 ++ target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h | 1 + 2 files changed, 3 insertions(+) (limited to 'target/linux/ar71xx/files') diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c index 0df9c7f02..358f1a9f3 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c @@ -288,3 +288,5 @@ static void __init wndr3700v2_setup(void) MIPS_MACHINE(AR71XX_MACH_WNDR3700V2, "WNDR3700v2", "NETGEAR WNDR3700v2", wndr3700v2_setup); +MIPS_MACHINE(AR71XX_MACH_WNDR3800, "WNDR3800", "NETGEAR WNDR3800", + wndr3700v2_setup); diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h b/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h index 78d8bdd68..be7df85d4 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h @@ -70,6 +70,7 @@ enum ar71xx_mach_type { AR71XX_MACH_WHR_HP_GN, /* Buffalo WHR-HP-GN */ AR71XX_MACH_WNDR3700, /* NETGEAR WNDR3700 */ AR71XX_MACH_WNDR3700V2, /* NETGEAR WNDR3700v2 */ + AR71XX_MACH_WNDR3800, /* NETGEAR WNDR3800 */ AR71XX_MACH_WNR2000, /* NETGEAR WNR2000 */ AR71XX_MACH_WP543, /* Compex WP543 */ AR71XX_MACH_WRT160NL, /* Linksys WRT160NL */ -- cgit v1.2.3