Changeset 19150


Ignore:
Timestamp:
2010-01-15T13:08:03+01:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: add preliminary support for the Buffalo WZR-HP-G300NH

Location:
trunk/target/linux/ar71xx
Files:
2 added
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/diag.sh

    r19100 r19150  
    9797                status_led="wrt160nl:blue:wps" 
    9898                ;; 
     99        wzr-hp-g300nh) 
     100                status_led="wzr-hp-g300nh:green:router" 
     101                ;; 
    99102        esac; 
    100103} 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r19100 r19150  
    101101                name="wrt400n" 
    102102                ;; 
     103        *WZR-HP-W300NH) 
     104                name="wzr-hp-w300nh" 
     105                ;; 
    103106        *) 
    104107                name="generic" 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r19100 r19150  
    6969 
    7070        case "$board" in 
    71         ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m) 
     71        ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m | wzr-hp-g300nh) 
    7272                [ "$magic" != "2705" ] && { 
    7373                        echo "Invalid image type." 
  • trunk/target/linux/ar71xx/config-2.6.30

    r19149 r19150  
    3737CONFIG_AR71XX_MACH_WRT160NL=y 
    3838CONFIG_AR71XX_MACH_WRT400N=y 
     39CONFIG_AR71XX_MACH_WZR_HP_G300NH=y 
    3940CONFIG_AR71XX_NVRAM=y 
    4041CONFIG_AR71XX_WDT=y 
     
    103104CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y 
    104105CONFIG_GPIOLIB=y 
    105 # CONFIG_GPIO_NXP_74HC153 is not set 
     106CONFIG_GPIO_NXP_74HC153=y 
    106107CONFIG_GPIO_PCF857X=y 
    107108CONFIG_GPIO_SYSFS=y 
     
    150151# CONFIG_MIPS_SIM is not set 
    151152CONFIG_MTD_AR91XX_FLASH=y 
    152 # CONFIG_MTD_CFI is not set 
    153153# CONFIG_MTD_CFI_INTELEXT is not set 
    154154CONFIG_MTD_CMDLINE_PARTS=y 
  • trunk/target/linux/ar71xx/config-2.6.31

    r19149 r19150  
    3939CONFIG_AR71XX_MACH_WRT160NL=y 
    4040CONFIG_AR71XX_MACH_WRT400N=y 
     41CONFIG_AR71XX_MACH_WZR_HP_G300NH=y 
    4142CONFIG_AR71XX_NVRAM=y 
    4243CONFIG_AR71XX_WDT=y 
     
    107108CONFIG_GPIOLIB=y 
    108109# CONFIG_GPIO_NXP_74HC153 is not set 
    109 CONFIG_GPIO_PCF857X=y 
     110CONFIG_GPIO_NXP_74HC153=y 
    110111CONFIG_GPIO_SYSFS=y 
    111112CONFIG_HARDWARE_WATCHPOINTS=y 
  • trunk/target/linux/ar71xx/config-2.6.32

    r19149 r19150  
    3939CONFIG_AR71XX_MACH_WRT160NL=y 
    4040CONFIG_AR71XX_MACH_WRT400N=y 
     41CONFIG_AR71XX_MACH_WZR_HP_G300NH=y 
    4142CONFIG_AR71XX_NVRAM=y 
    4243CONFIG_AR71XX_WDT=y 
     
    108109CONFIG_GPIOLIB=y 
    109110# CONFIG_GPIO_MC33880 is not set 
    110 # CONFIG_GPIO_NXP_74HC153 is not set 
     111CONFIG_GPIO_NXP_74HC153=y 
    111112CONFIG_GPIO_PCF857X=y 
    112113CONFIG_GPIO_SYSFS=y 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig

    r19100 r19150  
    6969        default n 
    7070 
     71config AR71XX_MACH_WZR_HP_G300NH 
     72        bool "Buffalo WZR-HP-G300NH board support" 
     73        select AR71XX_DEV_AR913X_WMAC 
     74        select AR71XX_DEV_GPIO_BUTTONS 
     75        select AR71XX_DEV_LEDS_GPIO 
     76        select AR71XX_DEV_USB 
     77        default y 
     78 
    7179config AR71XX_MACH_GENERIC 
    7280        bool "Generic AR71xx based machine support" 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile

    r19100 r19150  
    4949obj-$(CONFIG_AR71XX_MACH_WRT160NL)      += mach-wrt160nl.o 
    5050obj-$(CONFIG_AR71XX_MACH_WRT400N)       += mach-wrt400n.o 
     51obj-$(CONFIG_AR71XX_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h

    r19100 r19150  
    5252        AR71XX_MACH_WRT160NL,   /* Linksys WRT160NL */ 
    5353        AR71XX_MACH_WRT400N,    /* Linksys WRT400N */ 
     54        AR71XX_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */ 
    5455}; 
    5556 
Note: See TracChangeset for help on using the changeset viewer.