diff options
author | jkh <jkh@FreeBSD.org> | 1996-03-10 02:10:27 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-03-10 02:10:27 +0000 |
commit | e17b6932cab377769635636cf770af0fbd8b3421 (patch) | |
tree | 641e3e88729af29d51c836680d50b11cb48becae /sys/amd64 | |
parent | 6bd5dbcc4cfe066d649a1ac2314b550181993437 (diff) | |
download | FreeBSD-src-e17b6932cab377769635636cf770af0fbd8b3421.zip FreeBSD-src-e17b6932cab377769635636cf770af0fbd8b3421.tar.gz |
Don't print DMA busy messages - the sound code apparently runs
afoul of this without actually providing useful information and
works nonetheless.
Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/isa/isa.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/amd64/isa/isa.c b/sys/amd64/isa/isa.c index 3f21cfd..d2d1ba8 100644 --- a/sys/amd64/isa/isa.c +++ b/sys/amd64/isa/isa.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: isa.c,v 1.62 1996/01/27 01:56:30 bde Exp $ + * $Id: isa.c,v 1.63 1996/01/27 02:33:36 bde Exp $ */ /* @@ -634,8 +634,10 @@ void isa_dmastart(int flags, caddr_t addr, unsigned nbytes, unsigned chan) || (chan >= 4 && (nbytes > (1<<17) || (u_int)addr & 1))) panic("isa_dmastart: impossible request"); +#ifdef notdef if (dma_busy[chan]) printf("isa_dmastart: channel %u busy\n", chan); +#endif dma_busy[chan] = 1; if (isa_dmarangecheck(addr, nbytes, chan)) { if (dma_bouncebuf[chan] == NULL @@ -726,8 +728,10 @@ void isa_dmastart(int flags, caddr_t addr, unsigned nbytes, unsigned chan) void isa_dmadone(int flags, caddr_t addr, int nbytes, int chan) { +#ifdef notdef if (!dma_busy[chan]) printf("isa_dmadone: channel %d not busy\n", chan); +#endif if (dma_bounced[chan]) { /* copy bounce buffer on read */ if (flags & B_READ) @@ -743,8 +747,10 @@ isa_dmadone_nobounce(chan) unsigned chan; { +#ifdef notdef if (!dma_busy[chan]) printf("isa_dmadone_nobounce: channel %u not busy\n", chan); +#endif if (dma_bounced[chan]) { printf("isa_dmadone_nobounce: channel %u bounced\n", chan); dma_bounced[chan] = 0; |