diff options
author | kato <kato@FreeBSD.org> | 1998-04-21 09:46:14 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-04-21 09:46:14 +0000 |
commit | 7e90e654644166f96279304a04dde3d55b6d6d08 (patch) | |
tree | fa5684cf90760e88c4e934eac399cb3f0cddbd19 /sys/i386/isa/sound | |
parent | 2a80c88a1e213c531873d7ebe37db3a38d8777d4 (diff) | |
download | FreeBSD-src-7e90e654644166f96279304a04dde3d55b6d6d08.zip FreeBSD-src-7e90e654644166f96279304a04dde3d55b6d6d08.tar.gz |
Supports PC-98 again.
Diffstat (limited to 'sys/i386/isa/sound')
-rw-r--r-- | sys/i386/isa/sound/ad1848.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/i386/isa/sound/ad1848.c b/sys/i386/isa/sound/ad1848.c index eb19f8e..3773ace 100644 --- a/sys/i386/isa/sound/ad1848.c +++ b/sys/i386/isa/sound/ad1848.c @@ -1686,9 +1686,15 @@ attach_mss(struct address_info * hw_config) /* * Set the IRQ and DMA addresses. */ +#ifdef PC98 + static char interrupt_bits[13] = { + -1, -1, -1, 0x08, -1, 0x10, -1, -1, -1, -1, 0x18, -1, 0x20 + }; +#else static char interrupt_bits[12] = { -1, -1, -1, -1, -1, -1, -1, 0x08, -1, 0x10, 0x18, 0x20 }; +#endif static char dma_bits[4] = { 1, 2, 0, 3 }; |