diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-05-23 10:10:37 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-05-27 09:56:20 -0400 |
commit | 89fe5117928b2c1272c9376362131ded561c91ad (patch) | |
tree | d9ad58546d73efdef4d68ba3c8224a3ee5722576 /sound/drivers/Kconfig | |
parent | 06b5fb97cec1a3ca61d10164118b00fe98a6a866 (diff) |
sound: Convert to menuconfig
Convert menu in sound Kconfig files to menuconfig and if.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/Kconfig')
-rw-r--r-- | sound/drivers/Kconfig | 71 |
1 files changed, 34 insertions, 37 deletions
diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig index 159137bf4c11..79b4d3f25665 100644 --- a/sound/drivers/Kconfig +++ b/sound/drivers/Kconfig | |||
@@ -1,15 +1,41 @@ | |||
1 | # ALSA generic drivers | 1 | config SND_MPU401_UART |
2 | tristate | ||
3 | select SND_RAWMIDI | ||
2 | 4 | ||
3 | menu "Generic devices" | 5 | config SND_OPL3_LIB |
4 | depends on SND!=n | 6 | tristate |
7 | select SND_TIMER | ||
8 | select SND_HWDEP | ||
5 | 9 | ||
10 | config SND_OPL4_LIB | ||
11 | tristate | ||
12 | select SND_TIMER | ||
13 | select SND_HWDEP | ||
14 | |||
15 | config SND_VX_LIB | ||
16 | tristate | ||
17 | select SND_HWDEP | ||
18 | select SND_PCM | ||
19 | |||
20 | config SND_AC97_CODEC | ||
21 | tristate | ||
22 | select SND_PCM | ||
23 | select AC97_BUS | ||
24 | select SND_VMASTER | ||
25 | |||
26 | menuconfig SND_DRIVERS | ||
27 | bool "Generic sound devices" | ||
28 | default y | ||
29 | help | ||
30 | Support for generic sound devices. | ||
31 | |||
32 | if SND_DRIVERS | ||
6 | 33 | ||
7 | config SND_PCSP | 34 | config SND_PCSP |
8 | tristate "PC-Speaker support (READ HELP!)" | 35 | tristate "PC-Speaker support (READ HELP!)" |
9 | depends on PCSPKR_PLATFORM && X86_PC && HIGH_RES_TIMERS | 36 | depends on PCSPKR_PLATFORM && X86_PC && HIGH_RES_TIMERS |
10 | depends on INPUT | 37 | depends on INPUT |
11 | depends on EXPERIMENTAL | 38 | depends on EXPERIMENTAL |
12 | depends on SND | ||
13 | select SND_PCM | 39 | select SND_PCM |
14 | help | 40 | help |
15 | If you don't have a sound card in your computer, you can include a | 41 | If you don't have a sound card in your computer, you can include a |
@@ -35,34 +61,8 @@ config SND_PCSP | |||
35 | Say M if you don't. | 61 | Say M if you don't. |
36 | Say Y only if you really know what you do. | 62 | Say Y only if you really know what you do. |
37 | 63 | ||
38 | config SND_MPU401_UART | ||
39 | tristate | ||
40 | select SND_RAWMIDI | ||
41 | |||
42 | config SND_OPL3_LIB | ||
43 | tristate | ||
44 | select SND_TIMER | ||
45 | select SND_HWDEP | ||
46 | |||
47 | config SND_OPL4_LIB | ||
48 | tristate | ||
49 | select SND_TIMER | ||
50 | select SND_HWDEP | ||
51 | |||
52 | config SND_VX_LIB | ||
53 | tristate | ||
54 | select SND_HWDEP | ||
55 | select SND_PCM | ||
56 | |||
57 | config SND_AC97_CODEC | ||
58 | tristate | ||
59 | select SND_PCM | ||
60 | select AC97_BUS | ||
61 | select SND_VMASTER | ||
62 | |||
63 | config SND_DUMMY | 64 | config SND_DUMMY |
64 | tristate "Dummy (/dev/null) soundcard" | 65 | tristate "Dummy (/dev/null) soundcard" |
65 | depends on SND | ||
66 | select SND_PCM | 66 | select SND_PCM |
67 | help | 67 | help |
68 | Say Y here to include the dummy driver. This driver does | 68 | Say Y here to include the dummy driver. This driver does |
@@ -91,7 +91,6 @@ config SND_VIRMIDI | |||
91 | 91 | ||
92 | config SND_MTPAV | 92 | config SND_MTPAV |
93 | tristate "MOTU MidiTimePiece AV multiport MIDI" | 93 | tristate "MOTU MidiTimePiece AV multiport MIDI" |
94 | depends on SND | ||
95 | select SND_RAWMIDI | 94 | select SND_RAWMIDI |
96 | help | 95 | help |
97 | To use a MOTU MidiTimePiece AV multiport MIDI adapter | 96 | To use a MOTU MidiTimePiece AV multiport MIDI adapter |
@@ -103,7 +102,7 @@ config SND_MTPAV | |||
103 | 102 | ||
104 | config SND_MTS64 | 103 | config SND_MTS64 |
105 | tristate "ESI Miditerminal 4140 driver" | 104 | tristate "ESI Miditerminal 4140 driver" |
106 | depends on SND && PARPORT | 105 | depends on PARPORT |
107 | select SND_RAWMIDI | 106 | select SND_RAWMIDI |
108 | help | 107 | help |
109 | The ESI Miditerminal 4140 is a 4 In 4 Out MIDI Interface with | 108 | The ESI Miditerminal 4140 is a 4 In 4 Out MIDI Interface with |
@@ -116,7 +115,6 @@ config SND_MTS64 | |||
116 | 115 | ||
117 | config SND_SERIAL_U16550 | 116 | config SND_SERIAL_U16550 |
118 | tristate "UART16550 serial MIDI driver" | 117 | tristate "UART16550 serial MIDI driver" |
119 | depends on SND | ||
120 | select SND_RAWMIDI | 118 | select SND_RAWMIDI |
121 | help | 119 | help |
122 | To include support for MIDI serial port interfaces, say Y here | 120 | To include support for MIDI serial port interfaces, say Y here |
@@ -132,7 +130,6 @@ config SND_SERIAL_U16550 | |||
132 | 130 | ||
133 | config SND_MPU401 | 131 | config SND_MPU401 |
134 | tristate "Generic MPU-401 UART driver" | 132 | tristate "Generic MPU-401 UART driver" |
135 | depends on SND | ||
136 | select SND_MPU401_UART | 133 | select SND_MPU401_UART |
137 | help | 134 | help |
138 | Say Y here to include support for MIDI ports compatible with | 135 | Say Y here to include support for MIDI ports compatible with |
@@ -143,7 +140,7 @@ config SND_MPU401 | |||
143 | 140 | ||
144 | config SND_PORTMAN2X4 | 141 | config SND_PORTMAN2X4 |
145 | tristate "Portman 2x4 driver" | 142 | tristate "Portman 2x4 driver" |
146 | depends on SND && PARPORT | 143 | depends on PARPORT |
147 | select SND_RAWMIDI | 144 | select SND_RAWMIDI |
148 | help | 145 | help |
149 | Say Y here to include support for Midiman Portman 2x4 parallel | 146 | Say Y here to include support for Midiman Portman 2x4 parallel |
@@ -154,7 +151,7 @@ config SND_PORTMAN2X4 | |||
154 | 151 | ||
155 | config SND_ML403_AC97CR | 152 | config SND_ML403_AC97CR |
156 | tristate "Xilinx ML403 AC97 Controller Reference" | 153 | tristate "Xilinx ML403 AC97 Controller Reference" |
157 | depends on SND && XILINX_VIRTEX | 154 | depends on XILINX_VIRTEX |
158 | select SND_AC97_CODEC | 155 | select SND_AC97_CODEC |
159 | help | 156 | help |
160 | Say Y here to include support for the | 157 | Say Y here to include support for the |
@@ -164,4 +161,4 @@ config SND_ML403_AC97CR | |||
164 | To compile this driver as a module, choose M here: the module | 161 | To compile this driver as a module, choose M here: the module |
165 | will be called snd-ml403_ac97cr. | 162 | will be called snd-ml403_ac97cr. |
166 | 163 | ||
167 | endmenu | 164 | endif # SND_DRIVERS |