From owner-freebsd-bugs Sun Jul 23 9:50: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E8DC37B6B8 for ; Sun, 23 Jul 2000 09:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA34865; Sun, 23 Jul 2000 09:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 23 Jul 2000 09:50:03 -0700 (PDT) Message-Id: <200007231650.JAA34865@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bill Fumerola Subject: Re: kern/20115: pcm0 doesnot work on Panasonic Let's note CF-A1EV (neomagic 256AV) Reply-To: Bill Fumerola Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/20115; it has been noted by GNATS. From: Bill Fumerola To: fujiwara@rcac.tdi.co.jp Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/20115: pcm0 doesnot work on Panasonic Let's note CF-A1EV (neomagic 256AV) Date: Sun, 23 Jul 2000 12:47:47 -0400 On Sun, Jul 23, 2000 at 06:32:51AM -0000, fujiwara@rcac.tdi.co.jp wrote: > Index: sys/dev/sound/pcm/channel.c > =================================================================== > RCS file: /CVS/src/sys/dev/sound/pcm/channel.c,v > retrieving revision 1.19.2.3 > diff -u -r1.19.2.3 channel.c > --- sys/dev/sound/pcm/channel.c 2000/07/19 21:18:46 1.19.2.3 > +++ sys/dev/sound/pcm/channel.c 2000/07/22 10:22:45 > @@ -484,6 +484,7 @@ > /* Fill up the buffers with new pcm data. */ > res = buf->uio_resid; > while (chn_wrfeed2nd(c, buf) > 0); > +chn_wrintr(c); > if (buf->uio_resid < res) > count = hz; > else Try this as well: Index: channel.c =================================================================== RCS file: /home/ncvs/src/sys/dev/sound/pcm/channel.c,v retrieving revision 1.32 diff -u -r1.32 channel.c --- channel.c 2000/06/20 23:42:08 1.32 +++ channel.c 2000/07/22 17:36:34 @@ -234,7 +234,7 @@ b->fl = b->bufsize - b->rl; b->underflow = 0; } else { - /* chn_dmaupdate(c); */ + chn_dmaupdate(c); } } -- Bill Fumerola - Network Architect, BOFH / Chimes, Inc. billf@chimesnet.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message