[backfire] ar71xx: merge r28380
[openwrt-10.03/.git] / target / linux / ar71xx / files / drivers / net / ag71xx / Kconfig
index 801fcaf9d7157902cd1a3df871d2f3545997d323..7db779e38c4bb7c1656c28e9f4b079dee443eea9 100644 (file)
@@ -6,18 +6,28 @@ config AG71XX
          If you wish to compile a kernel for AR71xx/91xx and enable
          ethernet support, then you should always answer Y to this.
 
          If you wish to compile a kernel for AR71xx/91xx and enable
          ethernet support, then you should always answer Y to this.
 
+if AG71XX
+
 config AG71XX_DEBUG
        bool "Atheros AR71xx built-in ethernet driver debugging"
 config AG71XX_DEBUG
        bool "Atheros AR71xx built-in ethernet driver debugging"
-       depends on AG71XX
        default n
        help
          Atheros AR71xx built-in ethernet driver debugging messages.
 
        default n
        help
          Atheros AR71xx built-in ethernet driver debugging messages.
 
+config AG71XX_DEBUG_FS
+       bool "Atheros AR71xx built-in ethernet driver debugfs support"
+       depends on DEBUG_FS
+       default n
+       help
+         Say Y, if you need access to various statistics provided by
+         the ag71xx driver.
+
 config AG71XX_AR8216_SUPPORT
        bool "special support for the Atheros AR8216 switch"
 config AG71XX_AR8216_SUPPORT
        bool "special support for the Atheros AR8216 switch"
-       depends on AG71XX
        default n
        default n
-       default y if AR71XX_MACH_WNR2000 || AR71XX_MACH_MZK_W04NU || AR71XX_MACH_WRT400N
+       default y if AR71XX_MACH_WNR2000 || AR71XX_MACH_MZK_W04NU
        help
          Say 'y' here if you want to enable special support for the
          Atheros AR8216 switch found on some boards.
        help
          Say 'y' here if you want to enable special support for the
          Atheros AR8216 switch found on some boards.
+
+endif