Changeset 26119


Ignore:
Timestamp:
2011-03-13T16:08:31+01:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: add support for the TP-Link TL-WA901ND v2 board

Patch-by: Jonathan Benett <jbscience87@…>

Location:
trunk/target/linux/ar71xx
Files:
3 added
10 edited

Legend:

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

    r25118 r26119  
    9191                status_led="tl-wa901nd:green:system" 
    9292                ;; 
     93        tl-wa901nd-v2) 
     94                status_led="tl-wa901nd-v2:green:system" 
     95                ;; 
    9396        tl-wr1043nd) 
    9497                status_led="tl-wr1043nd:green:system" 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r25118 r26119  
    113113                name="tl-wa901nd" 
    114114                ;; 
     115        *"TL-WA901ND v2") 
     116                name="tl-wa901nd-v2" 
     117                ;; 
    115118        *TL-WR741ND) 
    116119                name="tl-wr741nd" 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r25118 r26119  
    7777                return 0 
    7878                ;; 
    79         tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) 
     79        tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) 
    8080                [ "$magic" != "0100" ] && { 
    8181                        echo "Invalid image type." 
  • trunk/target/linux/ar71xx/config-2.6.32

    r24440 r26119  
    3838CONFIG_AR71XX_MACH_TL_MR3X20=y 
    3939CONFIG_AR71XX_MACH_TL_WA901ND=y 
     40CONFIG_AR71XX_MACH_TL_WA901ND_V2=y 
    4041CONFIG_AR71XX_MACH_TL_WR1043ND=y 
    4142CONFIG_AR71XX_MACH_TL_WR741ND=y 
  • trunk/target/linux/ar71xx/config-2.6.37

    r24440 r26119  
    3434CONFIG_AR71XX_MACH_TL_MR3X20=y 
    3535CONFIG_AR71XX_MACH_TL_WA901ND=y 
     36CONFIG_AR71XX_MACH_TL_WA901ND_V2=y 
    3637CONFIG_AR71XX_MACH_TL_WR1043ND=y 
    3738CONFIG_AR71XX_MACH_TL_WR741ND=y 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig

    r24440 r26119  
    210210        default n 
    211211 
     212config AR71XX_MACH_TL_WA901ND_V2 
     213        bool "TP-LINK TL-WA901ND v2 support" 
     214        select AR71XX_DEV_M25P80 
     215        select AR71XX_DEV_AR913X_WMAC 
     216        select AR71XX_DEV_GPIO_BUTTONS 
     217        select AR71XX_DEV_LEDS_GPIO 
     218        default n 
     219 
    212220config AR71XX_MACH_TL_WR741ND 
    213221        bool "TP-LINK TL-WR741ND support" 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile

    r24440 r26119  
    4949obj-$(CONFIG_AR71XX_MACH_TL_MR3X20)     += mach-tl-mr3x20.o 
    5050obj-$(CONFIG_AR71XX_MACH_TL_WA901ND)    += mach-tl-wa901nd.o 
     51obj-$(CONFIG_AR71XX_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o 
    5152obj-$(CONFIG_AR71XX_MACH_TL_WR741ND)    += mach-tl-wr741nd.o 
    5253obj-$(CONFIG_AR71XX_MACH_TL_WR841N_V1)  += mach-tl-wr841n.o 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h

    r25118 r26119  
    4343        AR71XX_MACH_TL_MR3420,  /* TP-LINK TL-MR3420 */ 
    4444        AR71XX_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */ 
     45        AR71XX_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */ 
    4546        AR71XX_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */ 
    4647        AR71XX_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */ 
  • trunk/target/linux/ar71xx/generic/profiles/tp-link.mk

    r24940 r26119  
    3838 
    3939$(eval $(call Profile,TLWA901NDV1)) 
     40 
     41define Profile/TLWA901NDV2 
     42        NAME:=TP-LINK TL-WA901ND v2 
     43        PACKAGES:=kmod-ath9k wpad-mini 
     44endef 
     45 
     46define Profile/TLWA901NDV2/Description 
     47        Package set optimized for the TP-LINK TL-WA901ND v2. 
     48endef 
     49 
     50$(eval $(call Profile,TLWA901NDV2)) 
    4051 
    4152define Profile/TLWR741NDV1 
  • trunk/target/linux/ar71xx/image/Makefile

    r25119 r26119  
    593593endef 
    594594 
     595define Image/Build/Profile/TLWA901NDV2 
     596        $(call Image/Build/Template/$(fs_4k)/$(1),TPLINK,tl-wa901nd-v2,board=TL-WA901ND-v2,TL-WA901NDv2) 
     597endef 
     598 
    595599define Image/Build/Profile/TLWR741NDV1 
    596600        $(call Image/Build/Template/$(fs_4k)/$(1),TPLINK,tl-wr741nd-v1,board=TL-WR741ND,TL-WR741NDv1) 
     
    690694        $(call Image/Build/Profile/TLMR3420V1,$(1)) 
    691695        $(call Image/Build/Profile/TLWA901NDV1,$(1)) 
     696        $(call Image/Build/Profile/TLWA901NDV2,$(1)) 
    692697        $(call Image/Build/Profile/TLWR741NDV1,$(1)) 
    693698        $(call Image/Build/Profile/TLWR740NV1,$(1)) 
Note: See TracChangeset for help on using the changeset viewer.