diff options
author | kato <kato@FreeBSD.org> | 1999-04-02 08:51:06 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-04-02 08:51:06 +0000 |
commit | c6e82c444c39a44a6e20c98c83baf73d1db9c4da (patch) | |
tree | 87d50eadd417b1ad050a622e350b52d9ca84f281 /sys/sys/soundcard.h | |
parent | 1e7868a058ae6739b34cf6e0d009af192e8f180c (diff) | |
download | FreeBSD-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/sys/soundcard.h')
-rw-r--r-- | sys/sys/soundcard.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index 76b3fac..a9fbe6a 100644 --- a/sys/sys/soundcard.h +++ b/sys/sys/soundcard.h @@ -88,6 +88,7 @@ #define SNDCARD_MAUI 23 #define SNDCARD_PSEUDO_MSS 24 #define SNDCARD_AWE32 25 +#define SNDCARD_NSS 26 #include <sys/types.h> #ifndef _IOWR @@ -648,7 +649,7 @@ struct sbi_instrument { }; struct synth_info { /* Read only */ - char name[30]; + char name[33]; int device; /* 0-N. INITIALIZE BEFORE CALLING */ int synth_type; #define SYNTH_TYPE_FM 0 |