Changeset 47874


Ignore:
Timestamp:
2015-12-11T22:12:14+01:00 (2 years ago)
Author:
nbd
Message:

ar71xx: reorganize target patches/files to make it possible to add boards without adding patch files

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk/target/linux/ar71xx
Files:
5 added
13 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/patches-4.1/602-MIPS-ath79-add-openwrt-stuff.patch

    r46426 r47874  
    4747+ 
    4848 endif 
    49 --- a/arch/mips/ath79/Makefile 
    50 +++ b/arch/mips/ath79/Makefile 
    51 @@ -17,13 +17,25 @@ obj-$(CONFIG_PCI)                   += pci.o 
    52  # Devices 
    53  # 
    54  obj-y                                  += dev-common.o 
    55 +obj-$(CONFIG_ATH79_DEV_AP9X_PCI)       += dev-ap9x-pci.o 
    56 +obj-$(CONFIG_ATH79_DEV_DSA)            += dev-dsa.o 
    57 +obj-$(CONFIG_ATH79_DEV_ETH)            += dev-eth.o 
    58  obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS)   += dev-gpio-buttons.o 
    59  obj-$(CONFIG_ATH79_DEV_LEDS_GPIO)      += dev-leds-gpio.o 
    60 +obj-$(CONFIG_ATH79_DEV_M25P80)         += dev-m25p80.o 
    61 +obj-$(CONFIG_ATH79_DEV_NFC)            += dev-nfc.o 
    62  obj-$(CONFIG_ATH79_DEV_SPI)            += dev-spi.o 
    63  obj-$(CONFIG_ATH79_DEV_USB)            += dev-usb.o 
    64  obj-$(CONFIG_ATH79_DEV_WMAC)           += dev-wmac.o 
    65   
    66  # 
    67 +# Miscellaneous objects 
    68 +# 
    69 +obj-$(CONFIG_ATH79_NVRAM)              += nvram.o 
    70 +obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP)    += pci-ath9k-fixup.o 
    71 +obj-$(CONFIG_ATH79_ROUTERBOOT)         += routerboot.o 
    72 + 
    73 +# 
    74  # Machines 
    75  # 
    76  obj-$(CONFIG_ATH79_MACH_AP121)         += mach-ap121.o 
  • trunk/target/linux/ar71xx/patches-4.1/603-MIPS-ath79-ap121-fixes.patch

    r46426 r47874  
    148148        select ATH79_DEV_WMAC 
    149149        help 
    150 --- a/arch/mips/ath79/machtypes.h 
    151 +++ b/arch/mips/ath79/machtypes.h 
    152 @@ -17,6 +17,7 @@ 
    153  enum ath79_mach_type { 
    154         ATH79_MACH_GENERIC = 0, 
    155         ATH79_MACH_AP121,               /* Atheros AP121 reference board */ 
    156 +       ATH79_MACH_AP121_MINI,          /* Atheros AP121-MINI reference board */ 
    157         ATH79_MACH_AP136_010,           /* Atheros AP136-010 reference board */ 
    158         ATH79_MACH_AP81,                /* Atheros AP81 reference board */ 
    159         ATH79_MACH_DB120,               /* Atheros DB120 reference board */ 
  • trunk/target/linux/ar71xx/patches-4.1/608-MIPS-ath79-ubnt-xm-add-more-boards.patch

    r46430 r47874  
    640640          Say 'Y' here if you want your kernel to support the 
    641641          Ubiquiti Networks XM (rev 1.0) board. 
    642 --- a/arch/mips/ath79/machtypes.h 
    643 +++ b/arch/mips/ath79/machtypes.h 
    644 @@ -22,6 +22,15 @@ enum ath79_mach_type { 
    645         ATH79_MACH_AP81,                /* Atheros AP81 reference board */ 
    646         ATH79_MACH_DB120,               /* Atheros DB120 reference board */ 
    647         ATH79_MACH_PB44,                /* Atheros PB44 reference board */ 
    648 +       ATH79_MACH_UBNT_AIRROUTER,      /* Ubiquiti AirRouter */ 
    649 +       ATH79_MACH_UBNT_BULLET_M,       /* Ubiquiti Bullet M */ 
    650 +       ATH79_MACH_UBNT_NANO_M,         /* Ubiquiti NanoStation M */ 
    651 +       ATH79_MACH_UBNT_ROCKET_M,       /* Ubiquiti Rocket M */ 
    652 +       ATH79_MACH_UBNT_ROCKET_M_XW,    /* Ubiquiti Rocket M XW*/ 
    653 +       ATH79_MACH_UBNT_ROCKET_M_TI,    /* Ubiquiti Rocket M TI*/ 
    654 +       ATH79_MACH_UBNT_UAP_PRO,        /* Ubiquiti UniFi AP Pro */ 
    655 +       ATH79_MACH_UBNT_UNIFI,          /* Ubiquiti Unifi */ 
    656 +       ATH79_MACH_UBNT_UNIFI_OUTDOOR,  /* Ubiquiti UnifiAP Outdoor */ 
    657         ATH79_MACH_UBNT_XM,             /* Ubiquiti Networks XM board rev 1.0 */ 
    658  }; 
    659   
  • trunk/target/linux/ar71xx/patches-4.1/609-MIPS-ath79-ap136-fixes.patch

    r46426 r47874  
    277277+            "Atheros AP135-020 reference board", 
    278278+            ap135_020_setup); 
    279 --- a/arch/mips/ath79/machtypes.h 
    280 +++ b/arch/mips/ath79/machtypes.h 
    281 @@ -18,7 +18,9 @@ enum ath79_mach_type { 
    282         ATH79_MACH_GENERIC = 0, 
    283         ATH79_MACH_AP121,               /* Atheros AP121 reference board */ 
    284         ATH79_MACH_AP121_MINI,          /* Atheros AP121-MINI reference board */ 
    285 +       ATH79_MACH_AP135_020,           /* Atheros AP135-020 reference board */ 
    286         ATH79_MACH_AP136_010,           /* Atheros AP136-010 reference board */ 
    287 +       ATH79_MACH_AP136_020,           /* Atheros AP136-020 reference board */ 
    288         ATH79_MACH_AP81,                /* Atheros AP81 reference board */ 
    289         ATH79_MACH_DB120,               /* Atheros DB120 reference board */ 
    290         ATH79_MACH_PB44,                /* Atheros PB44 reference board */ 
    291279--- a/arch/mips/ath79/Kconfig 
    292280+++ b/arch/mips/ath79/Kconfig 
  • trunk/target/linux/ar71xx/patches-4.1/818-MIPS-ath79-add-nu801-led-driver.patch

    r47848 r47874  
    22+++ b/drivers/leds/Kconfig 
    33@@ -500,6 +500,13 @@ config LEDS_MENF21BMC 
    4  
     4  
    55 comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)" 
    6  
     6  
    77+config LEDS_NU801 
    88+       tristate "LED driver for NU801 RGB LED" 
Note: See TracChangeset for help on using the changeset viewer.