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/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/Kconfig')
-rw-r--r-- | sound/Kconfig | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/sound/Kconfig b/sound/Kconfig index 4247406160e7..a37bee094eba 100644 --- a/sound/Kconfig +++ b/sound/Kconfig | |||
@@ -1,11 +1,9 @@ | |||
1 | # sound/Config.in | 1 | # sound/Config.in |
2 | # | 2 | # |
3 | 3 | ||
4 | menu "Sound" | 4 | menuconfig SOUND |
5 | depends on HAS_IOMEM | ||
6 | |||
7 | config SOUND | ||
8 | tristate "Sound card support" | 5 | tristate "Sound card support" |
6 | depends on HAS_IOMEM | ||
9 | help | 7 | help |
10 | If you have a sound card in your computer, i.e. if it can say more | 8 | If you have a sound card in your computer, i.e. if it can say more |
11 | than an occasional beep, say Y. Be sure to have all the information | 9 | than an occasional beep, say Y. Be sure to have all the information |
@@ -28,22 +26,22 @@ config SOUND | |||
28 | and read <file:Documentation/sound/oss/README.modules>; the module | 26 | and read <file:Documentation/sound/oss/README.modules>; the module |
29 | will be called soundcore. | 27 | will be called soundcore. |
30 | 28 | ||
29 | if SOUND | ||
30 | |||
31 | source "sound/oss/dmasound/Kconfig" | 31 | source "sound/oss/dmasound/Kconfig" |
32 | 32 | ||
33 | if !M68K | 33 | if !M68K |
34 | 34 | ||
35 | menu "Advanced Linux Sound Architecture" | 35 | menuconfig SND |
36 | depends on SOUND!=n | ||
37 | |||
38 | config SND | ||
39 | tristate "Advanced Linux Sound Architecture" | 36 | tristate "Advanced Linux Sound Architecture" |
40 | depends on SOUND | ||
41 | help | 37 | help |
42 | Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture), | 38 | Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture), |
43 | the new base sound system. | 39 | the new base sound system. |
44 | 40 | ||
45 | For more information, see <http://www.alsa-project.org/> | 41 | For more information, see <http://www.alsa-project.org/> |
46 | 42 | ||
43 | if SND | ||
44 | |||
47 | source "sound/core/Kconfig" | 45 | source "sound/core/Kconfig" |
48 | 46 | ||
49 | source "sound/drivers/Kconfig" | 47 | source "sound/drivers/Kconfig" |
@@ -58,9 +56,7 @@ source "sound/aoa/Kconfig" | |||
58 | 56 | ||
59 | source "sound/arm/Kconfig" | 57 | source "sound/arm/Kconfig" |
60 | 58 | ||
61 | if SPI | ||
62 | source "sound/spi/Kconfig" | 59 | source "sound/spi/Kconfig" |
63 | endif | ||
64 | 60 | ||
65 | source "sound/mips/Kconfig" | 61 | source "sound/mips/Kconfig" |
66 | 62 | ||
@@ -80,22 +76,20 @@ source "sound/parisc/Kconfig" | |||
80 | 76 | ||
81 | source "sound/soc/Kconfig" | 77 | source "sound/soc/Kconfig" |
82 | 78 | ||
83 | endmenu | 79 | endif # SND |
84 | 80 | ||
85 | menu "Open Sound System" | 81 | menuconfig SOUND_PRIME |
86 | depends on SOUND!=n | ||
87 | |||
88 | config SOUND_PRIME | ||
89 | tristate "Open Sound System (DEPRECATED)" | 82 | tristate "Open Sound System (DEPRECATED)" |
90 | depends on SOUND | ||
91 | help | 83 | help |
92 | Say 'Y' or 'M' to enable Open Sound System drivers. | 84 | Say 'Y' or 'M' to enable Open Sound System drivers. |
93 | 85 | ||
86 | if SOUND_PRIME | ||
87 | |||
94 | source "sound/oss/Kconfig" | 88 | source "sound/oss/Kconfig" |
95 | 89 | ||
96 | endmenu | 90 | endif # SOUND_PRIME |
97 | 91 | ||
98 | endif | 92 | endif # !M68K |
99 | 93 | ||
100 | config AC97_BUS | 94 | config AC97_BUS |
101 | tristate | 95 | tristate |
@@ -105,4 +99,4 @@ config AC97_BUS | |||
105 | sound although they're sharing the AC97 bus. Concerned drivers | 99 | sound although they're sharing the AC97 bus. Concerned drivers |
106 | should "select" this. | 100 | should "select" this. |
107 | 101 | ||
108 | endmenu | 102 | endif # SOUND |