linux-stable-rt/arch
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
..
alpha
arm Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb 2008-09-29 08:30:11 -07:00
avr32 avr32: nmi_enter() without nmi_exit() 2008-09-19 20:08:08 +02:00
blackfin
cris
frv
h8300
ia64 [IA64] Put the space for cpu0 per-cpu area into .data section 2008-09-29 16:39:19 -07:00
m32r m32r/kernel/: cleanups 2008-09-27 18:27:21 +09:00
m68k
m68knommu
mips [MIPS] Sibyte: Register PIO PATA device only for Swarm and Litte Sur 2008-10-08 19:19:28 +01:00
mn10300 MN10300: Fix IRQ handling 2008-10-01 09:40:43 -07:00
parisc
powerpc powerpc: Fix boot hang regression on MPC8544DS 2008-10-02 00:58:49 -05:00
s390 [S390] nohz: Fix __udelay. 2008-10-03 21:55:54 +02:00
sh
sparc
sparc64 sparc64: Fix missing devices due to PCI bridge test in of_create_pci_dev(). 2008-09-22 15:51:54 -07:00
um sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
x86 [CPUFREQ] correct broken links and email addresses 2008-10-09 13:52:40 -04:00
xtensa
.gitignore
Kconfig