]> err.no Git - linux-2.6/blobdiff - drivers/hid/Kconfig
sdio: add sdio_f0_readb() and sdio_f0_writeb()
[linux-2.6] / drivers / hid / Kconfig
index ec796ad087df1e274e37dfd4bd04c20ca864b39b..19667fcc722a774337a3ee29c760c7ad8bec6c33 100644 (file)
@@ -1,8 +1,17 @@
 #
 # HID driver configuration
 #
-menu "HID Devices"
+menuconfig HID_SUPPORT
+       bool "HID Devices"
        depends on INPUT
+       default y
+       ---help---
+         Say Y here to get to see options for various computer-human interface
+         device drivers. This option alone does not add any kernel code.
+
+         If you say N, all options in this submenu will be skipped and disabled.
+
+if HID_SUPPORT
 
 config HID
        tristate "Generic HID support"
@@ -22,5 +31,21 @@ config HID
 
          If unsure, say Y
 
-endmenu
+config HID_DEBUG
+       bool "HID debugging support"
+       default y if !EMBEDDED
+       depends on HID
+       ---help---
+       This option lets the HID layer output diagnostics about its internal
+       state, resolve HID usages, dump HID fields, etc. Individual HID drivers
+       use this debugging facility to output information about individual HID
+       devices, etc.
+
+       This feature is useful for those who are either debugging the HID parser
+       or any HID hardware device.
+
+       If unsure, say N
+
+source "drivers/hid/usbhid/Kconfig"
 
+endif # HID_SUPPORT