From owner-freebsd-multimedia Sat Mar 9 10:47:38 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA15514 for multimedia-outgoing; Sat, 9 Mar 1996 10:47:38 -0800 (PST) Received: from miller.cs.uwm.edu (miller.cs.uwm.edu [129.89.9.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA15504 for ; Sat, 9 Mar 1996 10:47:25 -0800 (PST) Received: (from james@localhost) by miller.cs.uwm.edu (8.7.3/8.7.3) id MAA13709; Sat, 9 Mar 1996 12:47:08 -0600 Date: Sat, 9 Mar 1996 12:47:08 -0600 From: Jim Lowe Message-Id: <199603091847.MAA13709@miller.cs.uwm.edu> To: jkh@time.cdrom.com, multimedia@FreeBSD.org Subject: Re: isa_dmastart: channel 3 busy Sender: owner-multimedia@FreeBSD.org X-Loop: owner-multimedia@FreeBSD.ORG Precedence: bulk This is what I have applied to isa.c for the last 2-3 months after each sup :-(. It is gross, it is ugly, but it does make my sound work. -Jim ------------------------------isa.c.patch--------------------- *** isa.xx.c Thu Mar 7 08:15:28 1996 --- isa.c Thu Mar 7 08:16:19 1996 *************** *** 634,641 **** --- 634,643 ---- || (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,733 **** --- 728,737 ---- 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,750 **** --- 747,756 ---- 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;