浏览代码

schedule obsolete OSS drivers for removal, 4th round

Schedule obsolete OSS drivers for removal.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Adrian Bunk 18 年之前
父节点
当前提交
274ee1cd91
共有 2 个文件被更改,包括 26 次插入5 次删除
  1. 8 0
      Documentation/feature-removal-schedule.txt
  2. 18 5
      sound/oss/Kconfig

+ 8 - 0
Documentation/feature-removal-schedule.txt

@@ -323,3 +323,11 @@ Why:	Obsolete. The new i2c-gpio driver replaces all hardware-specific
 Who:	Jean Delvare <khali@linux-fr.org>
 Who:	Jean Delvare <khali@linux-fr.org>
 
 
 ---------------------------
 ---------------------------
+
+What:  drivers depending on OSS_OBSOLETE
+When:  options in 2.6.23, code in 2.6.25
+Why:   obsolete OSS drivers
+Who:   Adrian Bunk <bunk@stusta.de>
+
+---------------------------
+

+ 18 - 5
sound/oss/Kconfig

@@ -5,9 +5,22 @@
 #
 #
 # Prompt user for primary drivers.
 # Prompt user for primary drivers.
 
 
+config OSS_OBSOLETE
+	bool "Obsolete OSS drivers"
+	depends on SOUND_PRIME
+	help
+	  This option enables support for obsolete OSS drivers that
+	  are scheduled for removal in the near future.
+
+	  Please contact Adrian Bunk <bunk@stusta.de> if you had to
+	  say Y here because your hardware is not properly supported
+	  by ALSA.
+
+	  If unsure, say N.
+
 config SOUND_BT878
 config SOUND_BT878
 	tristate "BT878 audio dma"
 	tristate "BT878 audio dma"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OSS_OBSOLETE
 	---help---
 	---help---
 	  Audio DMA support for bt878 based grabber boards.  As you might have
 	  Audio DMA support for bt878 based grabber boards.  As you might have
 	  already noticed, bt878 is listed with two functions in /proc/pci.
 	  already noticed, bt878 is listed with two functions in /proc/pci.
@@ -33,7 +46,7 @@ config SOUND_BCM_CS4297A
 
 
 config SOUND_ICH
 config SOUND_ICH
 	tristate "Intel ICH (i8xx) audio support"
 	tristate "Intel ICH (i8xx) audio support"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OSS_OBSOLETE
 	help
 	help
 	  Support for integral audio in Intel's I/O Controller Hub (ICH)
 	  Support for integral audio in Intel's I/O Controller Hub (ICH)
 	  chipset, as used on the 810/820/840 motherboards.
 	  chipset, as used on the 810/820/840 motherboards.
@@ -335,7 +348,7 @@ config MSND_FIFOSIZE
 
 
 config SOUND_VIA82CXXX
 config SOUND_VIA82CXXX
 	tristate "VIA 82C686 Audio Codec"
 	tristate "VIA 82C686 Audio Codec"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OSS_OBSOLETE
 	help
 	help
 	  Say Y here to include support for the audio codec found on VIA
 	  Say Y here to include support for the audio codec found on VIA
 	  82Cxxx-based chips. Typically these are built into a motherboard.
 	  82Cxxx-based chips. Typically these are built into a motherboard.
@@ -389,7 +402,7 @@ config SOUND_DMAP
 
 
 config SOUND_CS4232
 config SOUND_CS4232
 	tristate "Crystal CS4232 based (PnP) cards"
 	tristate "Crystal CS4232 based (PnP) cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OSS_OBSOLETE
 	help
 	help
 	  Say Y here if you have a card based on the Crystal CS4232 chip set,
 	  Say Y here if you have a card based on the Crystal CS4232 chip set,
 	  which uses its own Plug and Play protocol.
 	  which uses its own Plug and Play protocol.
@@ -708,7 +721,7 @@ config SOUND_WAVEARTIST
 
 
 config SOUND_TVMIXER
 config SOUND_TVMIXER
 	tristate "TV card (bt848) mixer support"
 	tristate "TV card (bt848) mixer support"
-	depends on SOUND_PRIME && I2C && VIDEO_V4L1
+	depends on SOUND_PRIME && I2C && VIDEO_V4L1 && OSS_OBSOLETE
 	help
 	help
 	  Support for audio mixer facilities on the BT848 TV frame-grabber
 	  Support for audio mixer facilities on the BT848 TV frame-grabber
 	  card.
 	  card.