Changeset 29912 for trunk


Ignore:
Timestamp:
2012-01-26T18:01:41+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: add support for Compex WPE72/WPE72NX

This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.

[juhosg: add support to 3.2 as well]

Signed-off-by: Johnathan Boyce <jon.boyce@…>

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

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/network

    r29680 r29912  
    125125pb42 |\ 
    126126pb44 |\ 
    127 routerstation) 
     127routerstation|\ 
     128wpe72) 
    128129        ucidef_set_interfaces_lan_wan "eth1" "eth0" 
    129130        ;; 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r29680 r29912  
    302302                name="wp543" 
    303303                ;; 
     304        *WPE72) 
     305                name="wpe72" 
     306                ;; 
    304307        *"WNDR3700/WNDR3800/WNDRMAC") 
    305308                wndr3700_board_detect "$machine" 
  • trunk/target/linux/ar71xx/config-2.6.39

    r29680 r29912  
    5757CONFIG_AR71XX_MACH_WNR2000=y 
    5858CONFIG_AR71XX_MACH_WP543=y 
     59CONFIG_AR71XX_MACH_WPE72=y 
    5960CONFIG_AR71XX_MACH_WRT160NL=y 
    6061CONFIG_AR71XX_MACH_WRT400N=y 
  • trunk/target/linux/ar71xx/config-3.2

    r29868 r29912  
    6767CONFIG_ATH79_MACH_WNR2000=y 
    6868CONFIG_ATH79_MACH_WP543=y 
     69CONFIG_ATH79_MACH_WPE72=y 
    6970CONFIG_ATH79_MACH_WRT160NL=y 
    7071CONFIG_ATH79_MACH_WRT400N=y 
  • trunk/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/Kconfig

    r29867 r29912  
    208208        bool "Compex WP543/WPJ543 board support" 
    209209        select SOC_AR71XX 
     210        select MYLOADER 
     211        select AR71XX_DEV_M25P80 
     212        select AR71XX_DEV_GPIO_BUTTONS 
     213        select AR71XX_DEV_PB42_PCI if PCI 
     214        select AR71XX_DEV_LEDS_GPIO 
     215        select AR71XX_DEV_USB 
     216 
     217config AR71XX_MACH_WPE72 
     218        bool "Compex WPE72 board support" 
     219        select SOC_AR724X 
    210220        select MYLOADER 
    211221        select AR71XX_DEV_M25P80 
  • trunk/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/Makefile

    r29867 r29912  
    7272obj-$(CONFIG_AR71XX_MACH_WNR2000)       += mach-wnr2000.o 
    7373obj-$(CONFIG_AR71XX_MACH_WP543)         += mach-wp543.o 
     74obj-$(CONFIG_AR71XX_MACH_WPE72)         += mach-wpe72.o 
    7475obj-$(CONFIG_AR71XX_MACH_WRT160NL)      += mach-wrt160nl.o 
    7576obj-$(CONFIG_AR71XX_MACH_WRT400N)       += mach-wrt400n.o 
  • trunk/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/machtype.h

    r29867 r29912  
    8080        AR71XX_MACH_WNR2000,    /* NETGEAR WNR2000 */ 
    8181        AR71XX_MACH_WP543,      /* Compex WP543 */ 
     82        AR71XX_MACH_WPE72,      /* Compex WPE72 */ 
    8283        AR71XX_MACH_WRT160NL,   /* Linksys WRT160NL */ 
    8384        AR71XX_MACH_WRT400N,    /* Linksys WRT400N */ 
  • trunk/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/prom.c

    r29867 r29912  
    113113                ar71xx_prom_append_cmdline("board", "WP543"); 
    114114                break; 
     115        case DEVID_COMPEX_WPE72: 
     116                ar71xx_prom_append_cmdline("board", "WPE72"); 
     117                break; 
    115118        default: 
    116119                printk(KERN_WARNING "prom: unknown device id: %x\n", 
  • trunk/target/linux/ar71xx/patches-3.2/610-MIPS-ath79-openwrt-machines.patch

    r29868 r29912  
    11--- a/arch/mips/ath79/machtypes.h 
    22+++ b/arch/mips/ath79/machtypes.h 
    3 @@ -16,17 +16,77 @@ 
     3@@ -16,17 +16,78 @@ 
    44  
    55 enum ath79_mach_type { 
     
    6969+       ATH79_MACH_WNR2000,             /* NETGEAR WNR2000 */ 
    7070+       ATH79_MACH_WP543,               /* Compex WP543 */ 
     71+       ATH79_MACH_WPE72,               /* Compex WPE72 */ 
    7172+       ATH79_MACH_WRT160NL,            /* Linksys WRT160NL */ 
    7273+       ATH79_MACH_WRT400N,             /* Linksys WRT400N */ 
     
    175176        bool "Atheros PB44 reference board" 
    176177        select SOC_AR71XX 
    177 @@ -54,6 +127,349 @@ config ATH79_MACH_PB44 
     178@@ -54,6 +127,359 @@ config ATH79_MACH_PB44 
    178179          Say 'Y' here if you want your kernel to support the 
    179180          Atheros PB44 reference board. 
     
    247248+       bool "Compex WP543/WPJ543 board support" 
    248249+       select SOC_AR71XX 
     250+       select ATH79_DEV_ETH 
     251+       select ATH79_DEV_GPIO_BUTTONS 
     252+       select ATH79_DEV_LEDS_GPIO 
     253+       select ATH79_DEV_M25P80 
     254+       select ATH79_DEV_USB 
     255+       select MYLOADER 
     256+ 
     257+config ATH79_MACH_WPE72 
     258+       bool "Compex WPE72/WPE72NX board support" 
     259+       select SOC_AR724X 
    249260+       select ATH79_DEV_ETH 
    250261+       select ATH79_DEV_GPIO_BUTTONS 
     
    587598--- a/arch/mips/ath79/Makefile 
    588599+++ b/arch/mips/ath79/Makefile 
    589 @@ -36,8 +36,53 @@ obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP)  += p 
     600@@ -36,8 +36,54 @@ obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP)  += p 
    590601 # 
    591602 # Machines 
     
    635646+obj-$(CONFIG_ATH79_MACH_WNR2000)       += mach-wnr2000.o 
    636647+obj-$(CONFIG_ATH79_MACH_WP543)         += mach-wp543.o 
     648+obj-$(CONFIG_ATH79_MACH_WPE72)         += mach-wpe72.o 
    637649+obj-$(CONFIG_ATH79_MACH_WRT160NL)      += mach-wrt160nl.o 
    638650+obj-$(CONFIG_ATH79_MACH_WRT400N)       += mach-wrt400n.o 
Note: See TracChangeset for help on using the changeset viewer.