vsprintf: pre-calculate final string length for later use
[safe/jmp/linux-2.6] / sound / usb / Kconfig
index 9329e99..73525c0 100644 (file)
@@ -1,11 +1,17 @@
 # ALSA USB drivers
 
-menu "USB devices"
-       depends on SND!=n && USB!=n
+menuconfig SND_USB
+       bool "USB sound devices"
+       depends on USB
+       default y
+       help
+         Support for sound devices connected via the USB bus.
+
+if SND_USB && USB
 
 config SND_USB_AUDIO
        tristate "USB Audio/MIDI driver"
-       depends on SND && USB
+       select SND_HWDEP
        select SND_RAWMIDI
        select SND_PCM
        help
@@ -17,7 +23,7 @@ config SND_USB_AUDIO
 
 config SND_USB_USX2Y
        tristate "Tascam US-122, US-224 and US-428 USB driver"
-       depends on SND && USB && (X86 || PPC || ALPHA)
+       depends on X86 || PPC || ALPHA
        select SND_HWDEP
        select SND_RAWMIDI
        select SND_PCM
@@ -28,5 +34,54 @@ config SND_USB_USX2Y
          To compile this driver as a module, choose M here: the module
          will be called snd-usb-usx2y.
 
-endmenu
+config SND_USB_CAIAQ
+       tristate "Native Instruments USB audio devices"
+       select SND_HWDEP
+       select SND_RAWMIDI
+       select SND_PCM
+       help
+          Say Y here to include support for caiaq USB audio interfaces,
+          namely:
+
+           * Native Instruments RigKontrol2
+           * Native Instruments RigKontrol3
+           * Native Instruments Kore Controller
+           * Native Instruments Kore Controller 2
+           * Native Instruments Audio Kontrol 1
+           * Native Instruments Audio 2 DJ
+           * Native Instruments Audio 4 DJ
+           * Native Instruments Audio 8 DJ
+           * Native Instruments Guitar Rig Session I/O
+           * Native Instruments Guitar Rig mobile
+
+          To compile this driver as a module, choose M here: the module
+          will be called snd-usb-caiaq.
+
+config SND_USB_CAIAQ_INPUT
+       bool "enable input device for controllers"
+       depends on SND_USB_CAIAQ
+       depends on INPUT=y || INPUT=SND_USB_CAIAQ
+       help
+         Say Y here to support input controllers like buttons, knobs,
+         alpha dials and analog pedals on the following products:
+
+          * Native Instruments RigKontrol2
+          * Native Instruments RigKontrol3
+          * Native Instruments Kore Controller
+          * Native Instruments Kore Controller 2
+          * Native Instruments Audio Kontrol 1
+
+config SND_USB_US122L
+       tristate "Tascam US-122L USB driver"
+       depends on X86 && EXPERIMENTAL
+       select SND_HWDEP
+       select SND_RAWMIDI
+       help
+         Say Y here to include support for Tascam US-122L USB Audio/MIDI
+         interfaces.
+
+         To compile this driver as a module, choose M here: the module
+         will be called snd-usb-us122l.
+
+endif  # SND_USB