44# More hacking for modularisation.
55#
66# Prompt user for primary drivers.
7+
8+ config OBSOLETE_OSS_DRIVER
9+ bool "Obsolete OSS drivers"
10+ depends on SOUND_PRIME
11+ help
12+ This option enables support for obsolete OSS drivers that
13+ are scheduled for removal in the near future since there
14+ are ALSA drivers for the same hardware.
15+
16+ Please contact Adrian Bunk <bunk@stusta.de> if you had to
17+ say Y here because your soundcard is not properly supported
18+ by ALSA.
19+
20+ If unsure, say N.
21+
722config SOUND_BT878
823 tristate "BT878 audio dma"
9- depends on SOUND_PRIME && PCI
24+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
1025 ---help---
1126 Audio DMA support for bt878 based grabber boards. As you might have
1227 already noticed, bt878 is listed with two functions in /proc/pci.
@@ -22,7 +37,7 @@ config SOUND_BT878
2237
2338config SOUND_CMPCI
2439 tristate "C-Media PCI (CMI8338/8738)"
25- depends on SOUND_PRIME && PCI
40+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
2641 help
2742 Say Y or M if you have a PCI sound card using the CMI8338
2843 or the CMI8738 chipset. Data on these chips are available at
@@ -61,7 +76,7 @@ config SOUND_CMPCI_JOYSTICK
6176
6277config SOUND_EMU10K1
6378 tristate "Creative SBLive! (EMU10K1)"
64- depends on SOUND_PRIME && PCI
79+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
6580 ---help---
6681 Say Y or M if you have a PCI sound card using the EMU10K1 chipset,
6782 such as the Creative SBLive!, SB PCI512 or Emu-APS.
@@ -95,7 +110,7 @@ config SOUND_FUSION
95110
96111config SOUND_CS4281
97112 tristate "Crystal Sound CS4281"
98- depends on SOUND_PRIME && PCI
113+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
99114 help
100115 Picture and feature list at
101116 <http://www.pcbroker.com/crystal4281.html>.
@@ -112,7 +127,7 @@ config SOUND_BCM_CS4297A
112127
113128config SOUND_ES1370
114129 tristate "Ensoniq AudioPCI (ES1370)"
115- depends on SOUND_PRIME && PCI
130+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
116131 help
117132 Say Y or M if you have a PCI sound card utilizing the Ensoniq
118133 ES1370 chipset, such as Ensoniq's AudioPCI (non-97). To find
@@ -125,7 +140,7 @@ config SOUND_ES1370
125140
126141config SOUND_ES1371
127142 tristate "Creative Ensoniq AudioPCI 97 (ES1371)"
128- depends on SOUND_PRIME && PCI
143+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
129144 help
130145 Say Y or M if you have a PCI sound card utilizing the Ensoniq
131146 ES1371 chipset, such as Ensoniq's AudioPCI97. To find out if
@@ -138,7 +153,7 @@ config SOUND_ES1371
138153
139154config SOUND_ESSSOLO1
140155 tristate "ESS Technology Solo1"
141- depends on SOUND_PRIME && PCI
156+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
142157 help
143158 Say Y or M if you have a PCI sound card utilizing the ESS Technology
144159 Solo1 chip. To find out if your sound card uses a
@@ -149,7 +164,7 @@ config SOUND_ESSSOLO1
149164
150165config SOUND_MAESTRO
151166 tristate "ESS Maestro, Maestro2, Maestro2E driver"
152- depends on SOUND_PRIME && PCI
167+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
153168 help
154169 Say Y or M if you have a sound system driven by ESS's Maestro line
155170 of PCI sound chips. These include the Maestro 1, Maestro 2, and
@@ -158,7 +173,7 @@ config SOUND_MAESTRO
158173
159174config SOUND_MAESTRO3
160175 tristate "ESS Maestro3/Allegro driver (EXPERIMENTAL)"
161- depends on SOUND_PRIME && PCI && EXPERIMENTAL
176+ depends on SOUND_PRIME && PCI && EXPERIMENTAL && OBSOLETE_OSS_DRIVER
162177 help
163178 Say Y or M if you have a sound system driven by ESS's Maestro 3
164179 PCI sound chip.
@@ -172,14 +187,14 @@ config SOUND_ICH
172187
173188config SOUND_HARMONY
174189 tristate "PA Harmony audio driver"
175- depends on GSC_LASI && SOUND_PRIME
190+ depends on GSC_LASI && SOUND_PRIME && OBSOLETE_OSS_DRIVER
176191 help
177192 Say 'Y' or 'M' to include support for Harmony soundchip
178193 on HP 712, 715/new and many other GSC based machines.
179194
180195config SOUND_SONICVIBES
181196 tristate "S3 SonicVibes"
182- depends on SOUND_PRIME && PCI
197+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
183198 help
184199 Say Y or M if you have a PCI sound card utilizing the S3
185200 SonicVibes chipset. To find out if your sound card uses a
@@ -218,7 +233,7 @@ config SOUND_VRC5477
218233
219234config SOUND_AU1000
220235 tristate "Au1000 Sound"
221- depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500)
236+ depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) && OBSOLETE_OSS_DRIVER
222237
223238config SOUND_AU1550_AC97
224239 tristate "Au1550 AC97 Sound"
@@ -492,7 +507,7 @@ config MSND_FIFOSIZE
492507
493508config SOUND_VIA82CXXX
494509 tristate "VIA 82C686 Audio Codec"
495- depends on SOUND_PRIME && PCI
510+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
496511 help
497512 Say Y here to include support for the audio codec found on VIA
498513 82Cxxx-based chips. Typically these are built into a motherboard.
@@ -563,7 +578,7 @@ config SOUND_AD1889
563578
564579config SOUND_SGALAXY
565580 tristate "Aztech Sound Galaxy (non-PnP) cards"
566- depends on SOUND_OSS
581+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
567582 help
568583 This module initializes the older non Plug and Play sound galaxy
569584 cards from Aztech. It supports the Waverider Pro 32 - 3D and the
@@ -599,7 +614,7 @@ config SOUND_ACI_MIXER
599614
600615config SOUND_CS4232
601616 tristate "Crystal CS4232 based (PnP) cards"
602- depends on SOUND_OSS
617+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
603618 help
604619 Say Y here if you have a card based on the Crystal CS4232 chip set,
605620 which uses its own Plug and Play protocol.
@@ -613,7 +628,7 @@ config SOUND_CS4232
613628
614629config SOUND_SSCAPE
615630 tristate "Ensoniq SoundScape support"
616- depends on SOUND_OSS
631+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
617632 help
618633 Answer Y if you have a sound card based on the Ensoniq SoundScape
619634 chipset. Such cards are being manufactured at least by Ensoniq, Spea
@@ -625,7 +640,7 @@ config SOUND_SSCAPE
625640
626641config SOUND_GUS
627642 tristate "Gravis Ultrasound support"
628- depends on SOUND_OSS
643+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
629644 help
630645 Say Y here for any type of Gravis Ultrasound card, including the GUS
631646 or GUS MAX. See also <file:Documentation/sound/oss/ultrasound> for more
@@ -727,7 +742,7 @@ config SOUND_MPU401
727742
728743config SOUND_NM256
729744 tristate "NM256AV/NM256ZX audio support"
730- depends on SOUND_OSS
745+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
731746 help
732747 Say M here to include audio support for the NeoMagic 256AV/256ZX
733748 chipsets. These are the audio chipsets found in the Sony
@@ -739,7 +754,7 @@ config SOUND_NM256
739754
740755config SOUND_MAD16
741756 tristate "OPTi MAD16 and/or Mozart based cards"
742- depends on SOUND_OSS
757+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
743758 ---help---
744759 Answer Y if your card has a Mozart (OAK OTI-601) or MAD16 (OPTi
745760 82C928 or 82C929 or 82C931) audio interface chip. These chips are
@@ -860,7 +875,7 @@ config SOUND_SB
860875
861876config SOUND_AWE32_SYNTH
862877 tristate "AWE32 synth"
863- depends on SOUND_OSS
878+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
864879 help
865880 Say Y here if you have a Sound Blaster SB32, AWE32-PnP, SB AWE64 or
866881 similar sound card. See <file:Documentation/sound/oss/README.awe>,
@@ -870,15 +885,15 @@ config SOUND_AWE32_SYNTH
870885
871886config SOUND_WAVEFRONT
872887 tristate "Full support for Turtle Beach WaveFront (Tropez Plus, Tropez, Maui) synth/soundcards"
873- depends on SOUND_OSS && m
888+ depends on SOUND_OSS && m && OBSOLETE_OSS_DRIVER
874889 help
875890 Answer Y or M if you have a Tropez Plus, Tropez or Maui sound card
876891 and read the files <file:Documentation/sound/oss/Wavefront> and
877892 <file:Documentation/sound/oss/Tropez+>.
878893
879894config SOUND_MAUI
880895 tristate "Limited support for Turtle Beach Wave Front (Maui, Tropez) synthesizers"
881- depends on SOUND_OSS
896+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
882897 help
883898 Say Y here if you have a Turtle Beach Wave Front, Maui, or Tropez
884899 sound card.
@@ -904,7 +919,7 @@ config MAUI_BOOT_FILE
904919
905920config SOUND_YM3812
906921 tristate "Yamaha FM synthesizer (YM3812/OPL-3) support"
907- depends on SOUND_OSS
922+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
908923 ---help---
909924 Answer Y if your card has a FM chip made by Yamaha (OPL2/OPL3/OPL4).
910925 Answering Y is usually a safe and recommended choice, however some
@@ -920,7 +935,7 @@ config SOUND_YM3812
920935
921936config SOUND_OPL3SA1
922937 tristate "Yamaha OPL3-SA1 audio controller"
923- depends on SOUND_OSS
938+ depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
924939 help
925940 Say Y or M if you have a Yamaha OPL3-SA1 sound chip, which is
926941 usually built into motherboards. Read
@@ -946,7 +961,7 @@ config SOUND_OPL3SA2
946961
947962config SOUND_YMFPCI
948963 tristate "Yamaha YMF7xx PCI audio (native mode)"
949- depends on SOUND_OSS && PCI
964+ depends on SOUND_OSS && PCI && OBSOLETE_OSS_DRIVER
950965 help
951966 Support for Yamaha cards including the YMF711, YMF715, YMF718,
952967 YMF719, YMF724, Waveforce 192XG, and Waveforce 192 Digital.
@@ -1088,27 +1103,27 @@ config SOUND_KAHLUA
10881103
10891104config SOUND_ALI5455
10901105 tristate "ALi5455 audio support"
1091- depends on SOUND_PRIME && PCI
1106+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
10921107
10931108config SOUND_FORTE
10941109 tristate "ForteMedia FM801 driver"
1095- depends on SOUND_PRIME && PCI
1110+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
10961111 help
10971112 Say Y or M if you want driver support for the ForteMedia FM801 PCI
10981113 audio controller (Abit AU10, Genius Sound Maker, HP Workstation
10991114 zx2000, and others).
11001115
11011116config SOUND_RME96XX
11021117 tristate "RME Hammerfall (RME96XX) support"
1103- depends on SOUND_PRIME && PCI
1118+ depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
11041119 help
11051120 Say Y or M if you have a Hammerfall or Hammerfall light
11061121 multichannel card from RME. If you want to access advanced
11071122 features of the card, read <file:Documentation/sound/oss/rme96xx>.
11081123
11091124config SOUND_AD1980
11101125 tristate "AD1980 front/back switch plugin"
1111- depends on SOUND_PRIME
1126+ depends on SOUND_PRIME && OBSOLETE_OSS_DRIVER
11121127
11131128config SOUND_SH_DAC_AUDIO
11141129 tristate "SuperH DAC audio support"
0 commit comments