[PATCH] schedule obsolete OSS drivers for removal, 2nd round

This patch schedules obsolete OSS drivers (with ALSA drivers that support
the same hardware) for removal.

A rationale of the patch is in
http://lkml.org/lkml/2006/7/11/186

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Adrian Bunk and committed by Linus Torvalds 1e5f5e5c a9eec556

+29 -8
+7
Documentation/feature-removal-schedule.txt
··· 120 120 121 121 --------------------------- 122 122 123 + What: drivers depending on OSS_OBSOLETE_DRIVER 124 + When: options in 2.6.20, code in 2.6.22 125 + Why: OSS drivers with ALSA replacements 126 + Who: Adrian Bunk <bunk@stusta.de> 127 + 128 + --------------------------- 129 + 123 130 What: pci_module_init(driver) 124 131 When: January 2007 125 132 Why: Is replaced by pci_register_driver(pci_driver).
+22 -8
sound/oss/Kconfig
··· 5 5 # 6 6 # Prompt user for primary drivers. 7 7 8 + config OSS_OBSOLETE_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 + 8 22 config SOUND_BT878 9 23 tristate "BT878 audio dma" 10 24 depends on SOUND_PRIME && PCI ··· 37 23 38 24 config SOUND_EMU10K1 39 25 tristate "Creative SBLive! (EMU10K1)" 40 - depends on SOUND_PRIME && PCI 26 + depends on SOUND_PRIME && PCI && OSS_OBSOLETE_DRIVER 41 27 ---help--- 42 28 Say Y or M if you have a PCI sound card using the EMU10K1 chipset, 43 29 such as the Creative SBLive!, SB PCI512 or Emu-APS. ··· 63 49 64 50 config SOUND_FUSION 65 51 tristate "Crystal SoundFusion (CS4280/461x)" 66 - depends on SOUND_PRIME && PCI 52 + depends on SOUND_PRIME && PCI && OSS_OBSOLETE_DRIVER 67 53 help 68 54 This module drives the Crystal SoundFusion devices (CS4280/46xx 69 55 series) when wired as native sound drivers with AC97 codecs. If ··· 454 440 455 441 config SOUND_AD1816 456 442 tristate "AD1816(A) based cards (EXPERIMENTAL)" 457 - depends on EXPERIMENTAL && SOUND_OSS 443 + depends on EXPERIMENTAL && SOUND_OSS && OSS_OBSOLETE_DRIVER 458 444 help 459 445 Say M here if you have a sound card based on the Analog Devices 460 446 AD1816(A) chip. ··· 464 450 465 451 config SOUND_AD1889 466 452 tristate "AD1889 based cards (AD1819 codec) (EXPERIMENTAL)" 467 - depends on EXPERIMENTAL && SOUND_OSS && PCI 453 + depends on EXPERIMENTAL && SOUND_OSS && PCI && OSS_OBSOLETE_DRIVER 468 454 help 469 455 Say M here if you have a sound card based on the Analog Devices 470 456 AD1889 chip. 471 457 472 458 config SOUND_ADLIB 473 459 tristate "Adlib Cards" 474 - depends on SOUND_OSS 460 + depends on SOUND_OSS && OSS_OBSOLETE_DRIVER 475 461 help 476 462 Includes ASB 64 4D. Information on programming AdLib cards is 477 463 available at <http://www.itsnet.com/home/ldragon/Specs/adlib.html>. 478 464 479 465 config SOUND_ACI_MIXER 480 466 tristate "ACI mixer (miroSOUND PCM1-pro/PCM12/PCM20)" 481 - depends on SOUND_OSS 467 + depends on SOUND_OSS && OSS_OBSOLETE_DRIVER 482 468 ---help--- 483 469 ACI (Audio Command Interface) is a protocol used to communicate with 484 470 the microcontroller on some sound cards produced by miro and ··· 600 586 601 587 config SOUND_NM256 602 588 tristate "NM256AV/NM256ZX audio support" 603 - depends on SOUND_OSS 589 + depends on SOUND_OSS && OSS_OBSOLETE_DRIVER 604 590 help 605 591 Say M here to include audio support for the NeoMagic 256AV/256ZX 606 592 chipsets. These are the audio chipsets found in the Sony ··· 720 706 721 707 config SOUND_OPL3SA2 722 708 tristate "Yamaha OPL3-SA2 and SA3 based PnP cards" 723 - depends on SOUND_OSS 709 + depends on SOUND_OSS && OSS_OBSOLETE_DRIVER 724 710 help 725 711 Say Y or M if you have a card based on one of these Yamaha sound 726 712 chipsets or the "SAx", which is actually a SA3. Read