kernel-ark/sound/core
Tejun Heo d886e87cb8 sound: make OSS sound core optional
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>
2008-08-29 10:06:21 +02:00
..
oss ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
seq ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
control_compat.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
control.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
device.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
hwdep_compat.c
hwdep.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
info_oss.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
info.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
init.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
isadma.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
jack.c ALSA: Add jack reporting API 2008-07-29 21:32:03 +02:00
Kconfig sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
Makefile ALSA: Build jack detection 2008-07-29 21:32:06 +02:00
memalloc.c ALSA: Fix allocation size calculation in snd_dma_alloc_pages_fallback() 2008-08-25 09:57:19 +02:00
memory.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
misc.c [ALSA] sound: this amplifier only goes up to 7 2008-04-24 12:00:35 +02:00
pcm_compat.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
pcm_lib.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
pcm_memory.c ALSA: Allocate larger pages in sgbuf 2008-08-25 09:57:38 +02:00
pcm_misc.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
pcm_native.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
pcm_timer.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
pcm.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
rawmidi_compat.c
rawmidi.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
rtctimer.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
sgbuf.c ALSA: Allocate larger pages in sgbuf 2008-08-25 09:57:38 +02:00
sound_oss.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
sound.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
timer_compat.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
timer.c ALSA: fix a typo during snd_assert() removal 2008-08-15 11:48:04 +02:00
vmaster.c [ALSA] Keep private TLV entry in vmaster itself 2008-04-24 12:00:12 +02:00