diff options
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/Kconfig | 91 |
1 files changed, 55 insertions, 36 deletions
diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig index 602b58e3b55d..255fd18b9aec 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,33 +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 | |||
62 | config SND_DUMMY | 64 | config SND_DUMMY |
63 | tristate "Dummy (/dev/null) soundcard" | 65 | tristate "Dummy (/dev/null) soundcard" |
64 | depends on SND | ||
65 | select SND_PCM | 66 | select SND_PCM |
66 | help | 67 | help |
67 | Say Y here to include the dummy driver. This driver does | 68 | Say Y here to include the dummy driver. This driver does |
@@ -90,7 +91,6 @@ config SND_VIRMIDI | |||
90 | 91 | ||
91 | config SND_MTPAV | 92 | config SND_MTPAV |
92 | tristate "MOTU MidiTimePiece AV multiport MIDI" | 93 | tristate "MOTU MidiTimePiece AV multiport MIDI" |
93 | depends on SND | ||
94 | select SND_RAWMIDI | 94 | select SND_RAWMIDI |
95 | help | 95 | help |
96 | To use a MOTU MidiTimePiece AV multiport MIDI adapter | 96 | To use a MOTU MidiTimePiece AV multiport MIDI adapter |
@@ -102,7 +102,7 @@ config SND_MTPAV | |||
102 | 102 | ||
103 | config SND_MTS64 | 103 | config SND_MTS64 |
104 | tristate "ESI Miditerminal 4140 driver" | 104 | tristate "ESI Miditerminal 4140 driver" |
105 | depends on SND && PARPORT | 105 | depends on PARPORT |
106 | select SND_RAWMIDI | 106 | select SND_RAWMIDI |
107 | help | 107 | help |
108 | 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 |
@@ -115,7 +115,6 @@ config SND_MTS64 | |||
115 | 115 | ||
116 | config SND_SERIAL_U16550 | 116 | config SND_SERIAL_U16550 |
117 | tristate "UART16550 serial MIDI driver" | 117 | tristate "UART16550 serial MIDI driver" |
118 | depends on SND | ||
119 | select SND_RAWMIDI | 118 | select SND_RAWMIDI |
120 | help | 119 | help |
121 | To include support for MIDI serial port interfaces, say Y here | 120 | To include support for MIDI serial port interfaces, say Y here |
@@ -131,7 +130,6 @@ config SND_SERIAL_U16550 | |||
131 | 130 | ||
132 | config SND_MPU401 | 131 | config SND_MPU401 |
133 | tristate "Generic MPU-401 UART driver" | 132 | tristate "Generic MPU-401 UART driver" |
134 | depends on SND | ||
135 | select SND_MPU401_UART | 133 | select SND_MPU401_UART |
136 | help | 134 | help |
137 | Say Y here to include support for MIDI ports compatible with | 135 | Say Y here to include support for MIDI ports compatible with |
@@ -142,7 +140,7 @@ config SND_MPU401 | |||
142 | 140 | ||
143 | config SND_PORTMAN2X4 | 141 | config SND_PORTMAN2X4 |
144 | tristate "Portman 2x4 driver" | 142 | tristate "Portman 2x4 driver" |
145 | depends on SND && PARPORT | 143 | depends on PARPORT |
146 | select SND_RAWMIDI | 144 | select SND_RAWMIDI |
147 | help | 145 | help |
148 | Say Y here to include support for Midiman Portman 2x4 parallel | 146 | Say Y here to include support for Midiman Portman 2x4 parallel |
@@ -153,7 +151,7 @@ config SND_PORTMAN2X4 | |||
153 | 151 | ||
154 | config SND_ML403_AC97CR | 152 | config SND_ML403_AC97CR |
155 | tristate "Xilinx ML403 AC97 Controller Reference" | 153 | tristate "Xilinx ML403 AC97 Controller Reference" |
156 | depends on SND && XILINX_VIRTEX | 154 | depends on XILINX_VIRTEX |
157 | select SND_AC97_CODEC | 155 | select SND_AC97_CODEC |
158 | help | 156 | help |
159 | Say Y here to include support for the | 157 | Say Y here to include support for the |
@@ -163,4 +161,25 @@ config SND_ML403_AC97CR | |||
163 | 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 |
164 | will be called snd-ml403_ac97cr. | 162 | will be called snd-ml403_ac97cr. |
165 | 163 | ||
166 | endmenu | 164 | config SND_AC97_POWER_SAVE |
165 | bool "AC97 Power-Saving Mode" | ||
166 | depends on SND_AC97_CODEC && EXPERIMENTAL | ||
167 | default n | ||
168 | help | ||
169 | Say Y here to enable the aggressive power-saving support of | ||
170 | AC97 codecs. In this mode, the power-mode is dynamically | ||
171 | controlled at each open/close. | ||
172 | |||
173 | The mode is activated by passing power_save=1 option to | ||
174 | snd-ac97-codec driver. You can toggle it dynamically over | ||
175 | sysfs, too. | ||
176 | |||
177 | config SND_AC97_POWER_SAVE_DEFAULT | ||
178 | int "Default time-out for AC97 power-save mode" | ||
179 | depends on SND_AC97_POWER_SAVE | ||
180 | default 0 | ||
181 | help | ||
182 | The default time-out value in seconds for AC97 automatic | ||
183 | power-save mode. 0 means to disable the power-save mode. | ||
184 | |||
185 | endif # SND_DRIVERS | ||