android_kernel_samsung_msm8976/sound/oss
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
..
dmasound sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
.gitignore
ac97_codec.c sound/oss/ac97_codec.c: restore MODULE_LICENSE 2008-03-30 14:46:11 -07:00
ad1848.c
ad1848.h
ad1848_mixer.h
aedsp16.c
au1550_ac97.c
audio.c
bin2hex.c
CHANGELOG
coproc.h
dev_table.c
dev_table.h
dmabuf.c OSS: dmabuf: fix negative DMAbuf_get_buffer_pointer() check 2008-04-24 12:00:39 +02:00
hex2hex.c
kahlua.c misc: fix integer as NULL pointer warnings 2008-05-08 10:46:55 -07:00
Kconfig sound: oss: remove driver for SGI HAL2 audio device 2008-08-25 09:57:08 +02:00
Makefile sound: oss: remove driver for SGI HAL2 audio device 2008-08-25 09:57:08 +02:00
midi_ctrl.h
midi_synth.c
midi_synth.h
midibuf.c
mpu401.c mpu401: reindent misindented spinlock 2008-08-19 10:02:53 +02:00
mpu401.h
msnd.c sound: sound/oss/: remove CVS keywords 2008-05-27 15:56:20 +02:00
msnd.h sound: sound/oss/: remove CVS keywords 2008-05-27 15:56:20 +02:00
msnd_classic.c
msnd_classic.h sound: sound/oss/: remove CVS keywords 2008-05-27 15:56:20 +02:00
msnd_pinnacle.c sound: sound/oss/: remove CVS keywords 2008-05-27 15:56:20 +02:00
msnd_pinnacle.h sound: sound/oss/: remove CVS keywords 2008-05-27 15:56:20 +02:00
opl3.c more scheduled OSS driver removal 2007-07-16 09:05:40 -07:00
opl3_hw.h
os.h
pas2.h
pas2_card.c
pas2_midi.c
pas2_mixer.c
pas2_pcm.c
pss.c sound/oss/pss: set_io_base() always returns success, mark it void 2008-02-06 10:41:00 -08:00
README.FIRST
sb.h
sb_audio.c
sb_card.c ALSA: more section mismatches 2007-07-01 12:29:44 -07:00
sb_card.h
sb_common.c sound/oss/sb_common.c: fix casting warning 2008-02-06 10:41:00 -08:00
sb_ess.c
sb_ess.h
sb_midi.c
sb_mixer.c
sb_mixer.h
sequencer.c
sh_dac_audio.c
sound_calls.h
sound_config.h
sound_firmware.h
sound_timer.c
soundcard.c device create: sound: convert device_create to device_create_drvdata 2008-07-21 21:54:44 -07:00
soundvers.h
sscape.c
swarm_cs4297a.c OSS: constify function pointer tables 2008-02-08 09:22:38 -08:00
sys_timer.c
trix.c
tuning.h
uart401.c
uart6850.c
ulaw.h
v_midi.c
v_midi.h
vidc.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
vidc.h
vidc_fill.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
vwsnd.c x86, VisWS: turn into generic arch, update include file change 2008-07-10 19:34:22 +02:00
waveartist.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
waveartist.h

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox