ar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files
authorGabor Juhos <juhosg@openwrt.org>
Sat, 12 Apr 2014 19:58:23 +0000 (19:58 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 12 Apr 2014 19:58:23 +0000 (19:58 +0000)
Apart from the wireless chip, the WNDR3700 v4 and the WNDR4300
is the same device. Indicate this in the kernel files.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40479

target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
target/linux/ar71xx/patches-3.10/610-MIPS-ath79-openwrt-machines.patch

index dcdc68ba4f6198e9d0d7c77962120caa9de18aab..ae72ab66c43d95a0222fc6c5e1f315a148440d1d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  NETGEAR WNDR4300 board support
+ *  NETGEAR WNDR3700v4/WNDR4300 board support
  *
  *  Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org>
  *  Copyright (C) 2014 Ralph Perlich <rpsoft@arcor.de>
@@ -204,5 +204,5 @@ static void __init wndr4300_setup(void)
        ap91_pci_init_simple();
 }
 
-MIPS_MACHINE(ATH79_MACH_WNDR4300, "WNDR4300", "NETGEAR WNDR4300",
+MIPS_MACHINE(ATH79_MACH_WNDR4300, "WNDR4300", "NETGEAR WNDR3700v4/WNDR4300",
             wndr4300_setup);
index 52d5794612a755b1cef54695c2e8704c75f856fa..f05fc09fd9dd2e5b12cfd815bd7e1e4452459aa1 100644 (file)
 +      ATH79_MACH_WLR8100,             /* SITECOM WLR-8100 */
 +      ATH79_MACH_WNDAP360,            /* NETGEAR WNDAP360 */
 +      ATH79_MACH_WNDR3700,            /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
-+      ATH79_MACH_WNDR4300,            /* NETGEAR WNDR4300 */
++      ATH79_MACH_WNDR4300,            /* NETGEAR WNDR3700v4/WNDR4300 */
 +      ATH79_MACH_WNR2000,             /* NETGEAR WNR2000 */
 +      ATH79_MACH_WNR2000_V3,          /* NETGEAR WNR2000 v3 */
 +      ATH79_MACH_WNR2200,             /* NETGEAR WNR2200 */
 +      select ATH79_DEV_USB
 +
 +config ATH79_MACH_WNDR4300
-+      bool "NETGEAR WNDR4300 board support"
++      bool "NETGEAR WNDR3700v4/WNDR4300 board support"
 +      select SOC_AR934X
 +      select ATH79_DEV_AP9X_PCI if PCI
 +      select ATH79_DEV_ETH