summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound/local.h
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-04-02 08:51:06 +0000
committerkato <kato@FreeBSD.org>1999-04-02 08:51:06 +0000
commitc6e82c444c39a44a6e20c98c83baf73d1db9c4da (patch)
tree87d50eadd417b1ad050a622e350b52d9ca84f281 /sys/i386/isa/sound/local.h
parent1e7868a058ae6739b34cf6e0d009af192e8f180c (diff)
downloadFreeBSD-src-c6e82c444c39a44a6e20c98c83baf73d1db9c4da.zip
FreeBSD-src-c6e82c444c39a44a6e20c98c83baf73d1db9c4da.tar.gz
o sys/i386/include/soundcard.h
Add Sound Card ID for the nss(NEC PC-9801-86 Sound System) driver. Old name of this driver was pcm driver in FreeBSD 2.2.x. Fix lack of the length of the name member of the synth_info structure. (attach_mpu401 in sys/i386/isa/sound/mpu401.c requires 33 chars.) o sys/i386/isa/sound/dev_table.h Add the DMAbuf flags definition DMA_DISABLE. Add the nss driver entry. o sys/i386/isa/sound/dmabuf.c Add the DMA_DISABLE flag check in DMAbuf_outputintr and DMAbuf_inputintr to disable DMA control in FIFO only use (nss driver required). o sys/i386/isa/sound/local.h Add the nss driver entry. o sys/i386/isa/sound/mpu401.c Replace inb function in probe_mpu401 to mpu401_status macro. Wrap macro argument for above replace. Add I/O port maping macro for NEC PC-98x1 arch. Add delay in NEC PC-98x1 arch. o sys/i386/isa/sound/pcm86.c Change driver name to avoid name space conflict to new pcm driver. Fix NEC PC-9801-86 driver to work on RELENG_3 branch or latter. o sys/i386/isa/sound/sound_calls.h Fix the mpuintr definition. Add the nss driver entry. attach_nss, probe_nss, nssintr o sys/i386/isa/sound/soundcard.c Fix lack of the mpuintr registration. Add the nss driver entry. o sys/pc98/conf/files.pc98 Add the nss driver entry. Reviewed by: kato Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
Diffstat (limited to 'sys/i386/isa/sound/local.h')
-rw-r--r--sys/i386/isa/sound/local.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/i386/isa/sound/local.h b/sys/i386/isa/sound/local.h
index 3f02968..2d81c52 100644
--- a/sys/i386/isa/sound/local.h
+++ b/sys/i386/isa/sound/local.h
@@ -101,6 +101,11 @@
#define CONFIG_YM3812
#endif
+#include "nss.h"
+#if NNSS != 0
+#define CONFIG_NSS
+#endif
+
#define ALLOW_POLL
/* #undef CONFIG_PAS */
OpenPOWER on IntegriCloud