diff options
author | kato <kato@FreeBSD.org> | 1998-07-19 15:04:26 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-07-19 15:04:26 +0000 |
commit | f2d843cbf5545ec2d7be42e50ecf868758572a50 (patch) | |
tree | 645bd6268c6e2374c1063c789a5cea97139a0fe1 /sys/pc98 | |
parent | 56b9383d16190b92c09814e2c954eace7d503dea (diff) | |
download | FreeBSD-src-f2d843cbf5545ec2d7be42e50ecf868758572a50.zip FreeBSD-src-f2d843cbf5545ec2d7be42e50ecf868758572a50.tar.gz |
Sync with sys/i386/isa/isa.c revision 1.113.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/pc98/pc98.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/pc98/pc98/pc98.c b/sys/pc98/pc98/pc98.c index c57f400..3e08fde 100644 --- a/sys/pc98/pc98/pc98.c +++ b/sys/pc98/pc98/pc98.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: pc98.c,v 1.49 1998/03/17 09:11:03 kato Exp $ + * $Id: pc98.c,v 1.50 1998/04/17 22:37:01 des Exp $ */ /* @@ -923,6 +923,13 @@ isa_dmadone(int flags, caddr_t addr, int nbytes, int chan) (dma_auto_mode & (1 << chan)) == 0 ) printf("isa_dmadone: channel %d not busy\n", chan); +#ifdef PC98 + if ((dma_auto_mode & (1 << chan)) == 0) + outb(DMA1_SMSK, (chan & 3) | 4); +#else + if ((dma_auto_mode & (1 << chan)) == 0) + outb(chan & 4 ? DMA2_SMSK : DMA1_SMSK, (chan & 3) | 4); +#endif if (dma_bounced & (1 << chan)) { /* copy bounce buffer on read */ |