mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 05:36:43 +07:00
d886e87cb8
sound/sound_core.c implements soundcore.ko and contains two parts - sound_class which is shared by both ALSA and OSS and device redirection support for OSS. It's always compiled when any sound support is enabled although it's necessary only when OSS (the actual one or emulation) is enabled. This is slightly wasteful and as device redirection always registers character device region for major 14, it prevents alternative implementation. This patch introduces a new config SOUND_OSS_CORE which is selected iff OSS support is actually necessary and build the OSS core part conditionally. If OSS is disabled, soundcore merely contains sound_class but leaving it that way seems to be the simplest approach as otherwise sound_class should be in ALSA core file if OSS is disabled but should be in soundcore if OSS is enabled. Also, there's also the user confusion factor. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
46 lines
1.7 KiB
Plaintext
46 lines
1.7 KiB
Plaintext
config DMASOUND_ATARI
|
|
tristate "Atari DMA sound support"
|
|
depends on ATARI && SOUND
|
|
select DMASOUND
|
|
help
|
|
If you want to use the internal audio of your Atari in Linux, answer
|
|
Y to this question. This will provide a Sun-like /dev/audio,
|
|
compatible with the Linux/i386 sound system. Otherwise, say N.
|
|
|
|
This driver is also available as a module ( = code which can be
|
|
inserted in and removed from the running kernel whenever you
|
|
want). If you want to compile it as a module, say M here and read
|
|
<file:Documentation/kbuild/modules.txt>.
|
|
|
|
config DMASOUND_PAULA
|
|
tristate "Amiga DMA sound support"
|
|
depends on AMIGA && SOUND
|
|
select DMASOUND
|
|
help
|
|
If you want to use the internal audio of your Amiga in Linux, answer
|
|
Y to this question. This will provide a Sun-like /dev/audio,
|
|
compatible with the Linux/i386 sound system. Otherwise, say N.
|
|
|
|
This driver is also available as a module ( = code which can be
|
|
inserted in and removed from the running kernel whenever you
|
|
want). If you want to compile it as a module, say M here and read
|
|
<file:Documentation/kbuild/modules.txt>.
|
|
|
|
config DMASOUND_Q40
|
|
tristate "Q40 sound support"
|
|
depends on Q40 && SOUND
|
|
select DMASOUND
|
|
help
|
|
If you want to use the internal audio of your Q40 in Linux, answer
|
|
Y to this question. This will provide a Sun-like /dev/audio,
|
|
compatible with the Linux/i386 sound system. Otherwise, say N.
|
|
|
|
This driver is also available as a module ( = code which can be
|
|
inserted in and removed from the running kernel whenever you
|
|
want). If you want to compile it as a module, say M here and read
|
|
<file:Documentation/kbuild/modules.txt>.
|
|
|
|
config DMASOUND
|
|
tristate
|
|
select SOUND_OSS_CORE
|