ar71xx: don't register USB device on WNDAP360
authorGabor Juhos <juhosg@openwrt.org>
Tue, 27 Aug 2013 10:48:24 +0000 (10:48 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 27 Aug 2013 10:48:24 +0000 (10:48 +0000)
Apparently registering usb device on newest trunk causes
this AP not to boot...
Since there is no USB socket in that device anyway this
can be simply removed (and device boots then no problem).

[juhosg:
  - tweak subject line and description,
  - remove #include "dev-usb.h",
  - remove 'select ATH79_DEV_USB' from Kconfig]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37844

target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
target/linux/ar71xx/patches-3.10/610-MIPS-ath79-openwrt-machines.patch
target/linux/ar71xx/patches-3.10/620-MIPS-ath79-TL-MR10U-support.patch
target/linux/ar71xx/patches-3.10/621-MIPS-ath79-TL-WR710N-support.patch
target/linux/ar71xx/patches-3.10/622-MIPS-ath79-WNR612v2-support.patch

index 0fd399ebc72cbe604b5c85e2b9aac3b8bc5d9557..5b4b7b066cabeda0eff2fef0dfbf537baa4133b1 100644 (file)
@@ -22,7 +22,6 @@
 #include "dev-gpio-buttons.h"
 #include "dev-leds-gpio.h"
 #include "dev-m25p80.h"
-#include "dev-usb.h"
 #include "machtypes.h"
 
 #define WNDAP360_GPIO_LED_POWER_ORANGE         0
@@ -87,8 +86,6 @@ static void __init wndap360_setup(void)
 
        ath79_register_eth(0);
 
-       ath79_register_usb();
-
        ath79_register_m25p80(NULL);
 
        ath79_register_leds_gpio(-1, ARRAY_SIZE(wndap360_leds_gpio),
index b624d4556e1d1f2ebdad94eabda5d9f7928e901e..f68630e6381d64a1c03e9d6e53e7ecf959cc4732 100644 (file)
  config ATH79_MACH_AP121
        bool "Atheros AP121 reference board"
        select SOC_AR933X
-@@ -11,62 +66,654 @@ config ATH79_MACH_AP121
+@@ -11,62 +66,653 @@ config ATH79_MACH_AP121
        select ATH79_DEV_M25P80
        select ATH79_DEV_USB
        select ATH79_DEV_WMAC
 +      select ATH79_DEV_GPIO_BUTTONS
 +      select ATH79_DEV_LEDS_GPIO
 +      select ATH79_DEV_M25P80
-+      select ATH79_DEV_USB
 +
 +config ATH79_MACH_WNDR3700
 +      bool "NETGEAR WNDR3700 board support"
  
  config ATH79_MACH_UBNT_XM
        bool "Ubiquiti Networks XM/UniFi boards"
-@@ -83,6 +730,34 @@ config ATH79_MACH_UBNT_XM
+@@ -83,6 +729,34 @@ config ATH79_MACH_UBNT_XM
          Say 'Y' here if you want your kernel to support the
          Ubiquiti Networks XM (rev 1.0) board.
  
  endmenu
  
  config SOC_AR71XX
-@@ -132,7 +807,10 @@ config ATH79_DEV_DSA
+@@ -132,7 +806,10 @@ config ATH79_DEV_DSA
  config ATH79_DEV_ETH
        def_bool n
  
        def_bool n
  
  config ATH79_DEV_GPIO_BUTTONS
-@@ -164,4 +842,7 @@ config ATH79_PCI_ATH9K_FIXUP
+@@ -164,4 +841,7 @@ config ATH79_PCI_ATH9K_FIXUP
  config ATH79_ROUTERBOOT
        def_bool n
  
index dfab27dfcce87f3a2553d89ff6fb3d82c50bd22c..c3d577a8f78865684207f12ee12c25d2908e24c8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/ath79/Kconfig
 +++ b/arch/mips/ath79/Kconfig
-@@ -577,7 +577,7 @@ config ATH79_MACH_TL_WDR4300
+@@ -576,7 +576,7 @@ config ATH79_MACH_TL_WDR4300
        select ATH79_DEV_WMAC
  
  config ATH79_MACH_TL_WR703N
index 09438d3d969b6ce9f97bfa1e9e4dfd2819945df3..22c812b399862c4ad8b056a4c7c2bb6e74735242 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/ath79/Kconfig
 +++ b/arch/mips/ath79/Kconfig
-@@ -577,7 +577,7 @@ config ATH79_MACH_TL_WDR4300
+@@ -576,7 +576,7 @@ config ATH79_MACH_TL_WDR4300
        select ATH79_DEV_WMAC
  
  config ATH79_MACH_TL_WR703N
index ad528815f72163f6a13d5de7348783a49e073cf9..24a2d9bae74b9129f83922547a854b373beffd8c 100644 (file)
@@ -10,7 +10,7 @@
        ATH79_MACH_WRT160NL,            /* Linksys WRT160NL */
 --- a/arch/mips/ath79/Kconfig
 +++ b/arch/mips/ath79/Kconfig
-@@ -420,7 +420,7 @@ config ATH79_MACH_WNR2000
+@@ -419,7 +419,7 @@ config ATH79_MACH_WNR2000
        select ATH79_DEV_WMAC
  
  config ATH79_MACH_WNR2000_V3