ar71xx: move AP91 specific ethernet initialization into a separate file
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / Kconfig
index fe9b7a70d815bd0ca7a808053eb133ba0b62918e..5a6e4a3bca7744aac00b7eaf7c41a40ae9ddcdc3 100644 (file)
@@ -8,14 +8,25 @@ config AR71XX_MACH_AP81
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 config AR71XX_MACH_AP83
        bool "Atheros AP83 board support"
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
+
+config AR71XX_MACH_DIR_600_A1
+       bool "D-Link DIR-600 rev. A1 support"
+       select AR71XX_DEV_AP91_ETH
+       select AR71XX_DEV_AP91_PCI if PCI
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+       default n
 
 config AR71XX_MACH_DIR_615_C1
        bool "D-Link DIR-615 rev. C1 support"
@@ -23,7 +34,8 @@ config AR71XX_MACH_DIR_615_C1
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_NVRAM
+       default n
 
 config AR71XX_MACH_DIR_825_B1
        bool "D-Link DIR-825 rev. B1 board support"
@@ -31,21 +43,23 @@ config AR71XX_MACH_DIR_825_B1
        select AR71XX_DEV_AP94_PCI if PCI
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 config AR71XX_MACH_PB42
        bool "Atheros PB42 board support"
        select AR71XX_DEV_M25P80
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_PB42_PCI if PCI
-       default y
+       default n
 
 config AR71XX_MACH_PB44
        bool "Atheros PB44 board support"
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 config AR71XX_MACH_AW_NR580
        bool "AzureWave AW-NR580 board support"
@@ -53,10 +67,14 @@ config AR71XX_MACH_AW_NR580
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       default n
 
-config AR71XX_MACH_GENERIC
-       bool "Generic AR71xx based machine support"
+config AR71XX_MACH_WZR_HP_G300NH
+       bool "Buffalo WZR-HP-G300NH board support"
+       select AR71XX_DEV_AR913X_WMAC
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+       select AR71XX_DEV_USB
        default y
 
 config AR71XX_MACH_WP543
@@ -66,7 +84,8 @@ config AR71XX_MACH_WP543
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 config AR71XX_MACH_WRT160NL
        bool "Linksys WRT160NL board support"
@@ -74,20 +93,24 @@ config AR71XX_MACH_WRT160NL
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       select AR71XX_NVRAM
+       default n
 
 config AR71XX_MACH_WRT400N
        bool "Linksys WRT400N board support"
+       select AR71XX_DEV_AP94_PCI if PCI
        select AR71XX_DEV_M25P80
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       default n
 
 config AR71XX_MACH_RB_4XX
        bool "MikroTik RouterBOARD 4xx series support"
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 config AR71XX_MACH_WNDR3700
        bool "NETGEAR WNDR3700 board support"
@@ -95,7 +118,8 @@ config AR71XX_MACH_WNDR3700
        select AR71XX_DEV_AP94_PCI if PCI
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 config AR71XX_MACH_WNR2000
        bool "NETGEAR WNR2000 board support"
@@ -103,7 +127,7 @@ config AR71XX_MACH_WNR2000
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       default n
 
 config AR71XX_MACH_MZK_W04NU
        bool "Planex MZK-W04NU board support"
@@ -111,7 +135,8 @@ config AR71XX_MACH_MZK_W04NU
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 config AR71XX_MACH_MZK_W300NH
        bool "Planex MZK-W300NH board support"
@@ -119,31 +144,34 @@ config AR71XX_MACH_MZK_W300NH
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       default n
 
 config AR71XX_MACH_TL_WR741ND
        bool "TP-LINK TL-WR741ND support"
        select AR71XX_DEV_M25P80
+       select AR71XX_DEV_AP91_ETH
        select AR71XX_DEV_AP91_PCI if PCI
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       default n
 
 config AR71XX_MACH_TL_WR841N_V1
        bool "TP-LINK TL-WR841N v1 support"
        select AR71XX_DEV_M25P80
        select AR71XX_DEV_PB42_PCI if PCI
+       select AR71XX_DEV_DSA
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       default n
 
 config AR71XX_MACH_TL_WR941ND
        bool "TP-LINK TL-WR941ND support"
        select AR71XX_DEV_M25P80
        select AR71XX_DEV_AR913X_WMAC
+       select AR71XX_DEV_DSA
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       default n
 
 config AR71XX_MACH_TL_WR1043ND
        bool "TP-LINK TL-WR1043ND support"
@@ -151,7 +179,8 @@ config AR71XX_MACH_TL_WR1043ND
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 config AR71XX_MACH_TEW_632BRP
        bool "TRENDnet TEW-632BRP support"
@@ -159,7 +188,8 @@ config AR71XX_MACH_TEW_632BRP
        select AR71XX_DEV_AR913X_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default y
+       select AR71XX_NVRAM
+       default n
 
 config AR71XX_MACH_UBNT
        bool "Ubiquiti AR71xx based boards support"
@@ -168,7 +198,8 @@ config AR71XX_MACH_UBNT
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_PB42_PCI if PCI
-       default y
+       select AR71XX_DEV_USB
+       default n
 
 endmenu
 
@@ -178,12 +209,18 @@ config AR71XX_DEV_M25P80
 config AR71XX_DEV_AP91_PCI
        def_bool n
 
+config AR71XX_DEV_AP91_ETH
+       def_bool n
+
 config AR71XX_DEV_AP94_PCI
        def_bool n
 
 config AR71XX_DEV_AR913X_WMAC
        def_bool n
 
+config AR71XX_DEV_DSA
+       def_bool n
+
 config AR71XX_DEV_GPIO_BUTTONS
        def_bool n
 
@@ -193,4 +230,10 @@ config AR71XX_DEV_LEDS_GPIO
 config AR71XX_DEV_PB42_PCI
        def_bool n
 
+config AR71XX_DEV_USB
+       def_bool n
+
+config AR71XX_NVRAM
+       def_bool n
+
 endif