ar71xx: add support for the Buffalo WHR-HP-GN board
authorGabor Juhos <juhosg@openwrt.org>
Mon, 7 Nov 2011 12:59:10 +0000 (12:59 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 7 Nov 2011 12:59:10 +0000 (12:59 +0000)
SVN-Revision: 28805

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/files/arch/mips/ar71xx/mach-whr-hp-g300n.c
target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h

index 1f61b6ce232c0346d6415868f8ad641351bb5d0a..df5217485752cb466396434c8213c7f32c274787 100755 (executable)
@@ -104,6 +104,7 @@ get_status_led() {
                ;;
        whr-g301n | \
        whr-hp-g300n | \
+       whr-hp-gn | \
        wzr-hp-g300nh)
                status_led="buffalo:green:router"
                ;;
index c0acdc819b0802cb83951434c5cfcb8ad58e1873..6064dcd11055cd603c6997c189c37529dd15b431 100755 (executable)
@@ -154,6 +154,9 @@ ar71xx_board_name() {
        *WHR-G301N)
                name="whr-g301n"
                ;;
+       *WHR-HP-GN)
+               name="whr-hp-gn"
+               ;;
        *WP543)
                name="wp543"
                ;;
index 8ffdefff1f23a1446fb9b0822b9dd75fc0d0aeba..54a01d81944cd7e0253ef59a703992171c9a1913 100644 (file)
@@ -173,3 +173,6 @@ MIPS_MACHINE(AR71XX_MACH_WHR_HP_G300N, "WHR-HP-G300N", "Buffalo WHR-HP-G300N",
 
 MIPS_MACHINE(AR71XX_MACH_WHR_G301N, "WHR-G301N", "Buffalo WHR-G301N",
             whrhpg300n_setup);
+
+MIPS_MACHINE(AR71XX_MACH_WHR_HP_GN, "WHR-HP-GN", "Buffalo WHR-HP-GN",
+            whrhpg300n_setup);
index 09f244e28f862e8a1e945957dc48540b417ed593..78d8bdd6877bb90f384cfcc44f39245e44bfa7b7 100644 (file)
@@ -67,6 +67,7 @@ enum ar71xx_mach_type {
        AR71XX_MACH_UBNT_UNIFI, /* Unifi */
        AR71XX_MACH_WHR_G301N,  /* Buffalo WHR-G301N */
        AR71XX_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */
+       AR71XX_MACH_WHR_HP_GN,  /* Buffalo WHR-HP-GN */
        AR71XX_MACH_WNDR3700,   /* NETGEAR WNDR3700 */
        AR71XX_MACH_WNDR3700V2, /* NETGEAR WNDR3700v2 */
        AR71XX_MACH_WNR2000,    /* NETGEAR WNR2000 */