summaryrefslogtreecommitdiffstats
path: root/sys/modules/sound/driver
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2007-09-12 07:43:43 +0000
committerariff <ariff@FreeBSD.org>2007-09-12 07:43:43 +0000
commitea3192c3f4d2f82afb6215fb244df50276cd3558 (patch)
treedd78d0fa1d7afdfdfb8eab47903493e8bec3c684 /sys/modules/sound/driver
parenta2ad10dc879940266a904337d417adf37a381444 (diff)
downloadFreeBSD-src-ea3192c3f4d2f82afb6215fb244df50276cd3558.zip
FreeBSD-src-ea3192c3f4d2f82afb6215fb244df50276cd3558.tar.gz
Update snd_emu10kx driver with recent perforce changes (and few
other changes too). (without any real order) 1. Use device_get_nameunit for mutex naming 2. Add timer for low-latency playback 3. Move most mixer controls from sysctls to mixer(8) controls. This is a largest part of this patch. 4. Add analog/digital switch (as a temporary sysctl) 5. Get back support for low-bitrate playback (with help of (2)) 6. Change locking for exclusive I/O. Writing to non-PTR register is almost safe and does not need to be ordered with PTR operations. 7. Disable MIDI until we get it to detach properly and fix memory managment problems. 8. Enable multichannel playback by default. It is as stable as single-channel mode. Multichannel recording is still an experimental feature. 9. Multichannel options can be changed by loader tunables. 10. Add a way to disable card from a loader tunable. 11. Add new PCI IDs. 12. Debugger settings are loader tunables now. 14. Remove some unused variables. 15. Mark pcm sub-devices MPSAFE. 16. Partially revert (bus_setup_intr -> snd_setup_intr) since it need to be done independently Submitted by: Yuriy Tsibizov (driver maintainer) Approved by: re (bmah)
Diffstat (limited to 'sys/modules/sound/driver')
-rw-r--r--sys/modules/sound/driver/emu10kx/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/modules/sound/driver/emu10kx/Makefile b/sys/modules/sound/driver/emu10kx/Makefile
index ea26ddd..3037af7 100644
--- a/sys/modules/sound/driver/emu10kx/Makefile
+++ b/sys/modules/sound/driver/emu10kx/Makefile
@@ -2,10 +2,7 @@
.PATH: ${.CURDIR}/../../../../dev/sound/pci \
${.CURDIR}/../../../../gnu/dev/sound/pci
-WARNS?= 2 ## because sound is WARNS=2 only
-## WARNS=3 fails on _class.refs in -pcm.c
-## WARNS=4 fails on min/max in sound headers
-## otherwise it should be WARNS=6 clean
+WARNS?= 2
KMOD= snd_emu10kx
SRCS= device_if.h bus_if.h pci_if.h
@@ -40,12 +37,4 @@ CLEANFILES+= emu10k1-alsa%diked.h
CLEANFILES+= p16v-alsa%diked.h
CLEANFILES+= p17v-alsa%diked.h
-.if !defined(KERNBUILDDIR)
-opt_emu10kx.h:
- echo "#define SND_EMU10KX_MULTICHANNEL" > opt_emu10kx.h
- echo "#undef SND_EMU10KX_MCH_RECORDING" >> opt_emu10kx.h
- echo "#undef SND_EMU10KX_DEBUG_OUTPUTS" >> opt_emu10kx.h
- echo "#undef SND_EMU10KX_DEBUG" >> opt_emu10kx.h
-.endif
-
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud