From owner-FreeBSD-users-jp@jp.freebsd.org  Mon Dec 13 17:19:32 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id RAA02882;
	Mon, 13 Dec 1999 17:19:32 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA02877
	for <FreeBSD-users-jp@jp.freebsd.org>; Mon, 13 Dec 1999 17:19:31 +0900 (JST)
	(envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp)
Received: (from uucp@localhost)
	by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-r-0.1-19990829) with UUCP id RAA26276;
	Mon, 13 Dec 1999 17:19:31 +0900 (JST)
Received: from silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1])
	by silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (8.9.3/3.7W) with ESMTP id RAA18081;
	Mon, 13 Dec 1999 17:18:56 +0900 (JST)
Date: Mon, 13 Dec 1999 17:18:56 +0900
Message-ID: <14420.44016.43327.13042Y@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp>
From: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
To: FreeBSD-users-jp@jp.freebsd.org
cc: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7
 (=?ISO-8859-4?Q?Y=FEzaki?=) MULE XEmacs/21.1 (patch 8) (Bryce Canyon)
 (i386--freebsd)
Organization: Carrots
MIME-Version: 1.0 (generated by SEMI 1.13.4 - "Terai")
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Dec_13_17:18:55_1999-1"
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: FreeBSD-users-jp 48209
Subject: [FreeBSD-users-jp 48209] Fix of sys/i386/isa/sound/sb16_dsp.c in the last minute of -stable
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: tanimura@r.dl.itc.u-tokyo.ac.jp

--Multipart_Mon_Dec_13_17:18:55_1999-1
Content-Type: text/plain; charset=ISO-2022-JP

$BC+B<!w?^=q4[EE;R2=8&(B.$B4pHW(B.$BElBg(B $B$G$9!#(B


3.4R$B$,4V6a$K$J$j$^$7$?$,!"(B3.0R$B0J9_$N(B3.x-stable$B$K$D$$$F!"(BSB16$B8~$1$N(B
VoxWare$B%I%i%$%P$X$N(Bfix$B$r%F%9%H$7$F$b$i$($k$G$7$g$&$+(B? $B$3$l$G(B16bit pcm
sample$B$rLD$i$9$3$H$,$G$-$^$9!#Aa$/7k2L$,=P$l$P(B3.4R$B$KF~$k$+$bCN$l$^$;$s$N(B
$B$G!"$h$m$7$/$*4j$$$7$^$9!#(B


--Multipart_Mon_Dec_13_17:18:55_1999-1
Content-Type: text/plain; type=patch; charset=US-ASCII
Content-Disposition: attachment; filename="sound.diff"
Content-Transfer-Encoding: 7bit

diff -urN sys.3.3r/i386/isa/sound/sb16_dsp.c sys/i386/isa/sound/sb16_dsp.c
--- sys.3.3r/i386/isa/sound/sb16_dsp.c	Fri Jan  1 17:18:06 1999
+++ sys/i386/isa/sound/sb16_dsp.c	Mon Dec 13 15:41:36 1999
@@ -378,8 +378,12 @@
 
     if (!bits)
 	sb_dsp_command(0xd0);	/* Halt DMA */
-    else if (bits & irq_mode)
-	sb_dsp_command(0xd4);	/* Continue DMA */
+    else if (bits & irq_mode) {
+	if (dsp_16bit)
+	    sb_dsp_command(0xd6);	/* Continue 16bit DMA */
+	else
+	    sb_dsp_command(0xd4);	/* Continue 8bit DMA */
+    }
 }
 
 static void

--Multipart_Mon_Dec_13_17:18:55_1999-1
Content-Type: text/plain; charset=US-ASCII


-- 
Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@freebsd.org>

--Multipart_Mon_Dec_13_17:18:55_1999-1--
