aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeigo Tanimura <tanimura@FreeBSD.org>1999-12-14 06:34:48 +0000
committerSeigo Tanimura <tanimura@FreeBSD.org>1999-12-14 06:34:48 +0000
commit4bfc6d7e7999029f566472b885e451e53ea5d67a (patch)
tree044b230b6ce62f3a406f50e53e2170308e5ddc88
parent5eacf821880bcb5a979cfeb79df8121878373684 (diff)
Notes
-rw-r--r--sys/i386/isa/sound/sb16_dsp.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/i386/isa/sound/sb16_dsp.c b/sys/i386/isa/sound/sb16_dsp.c
index e923176ed875..72c80120e6c4 100644
--- a/sys/i386/isa/sound/sb16_dsp.c
+++ b/sys/i386/isa/sound/sb16_dsp.c
@@ -26,6 +26,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*
*/
@@ -378,8 +380,12 @@ sb16_dsp_trigger(int dev, int bits)
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