From 1a6274a5b75c403ddfc9895db0b3182cfe632ea6 Mon Sep 17 00:00:00 2001 From: ratchov Date: Wed, 10 Jun 2015 20:02:42 +0000 Subject: [PATCH] Use first 4 channels of the board. The previous channel setting caused DMA on the wrong memory location during recording. ok kettenis@ --- sys/dev/pci/autri.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/autri.c b/sys/dev/pci/autri.c index 1ba41523840..55e15990655 100644 --- a/sys/dev/pci/autri.c +++ b/sys/dev/pci/autri.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autri.c,v 1.37 2015/05/11 06:46:21 ratchov Exp $ */ +/* $OpenBSD: autri.c,v 1.38 2015/06/10 20:02:42 ratchov Exp $ */ /* * Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro. @@ -697,8 +697,8 @@ autri_init(void *sc_) if (sc->sc_devid == AUTRI_DEVICE_ID_ALI_M5451) { sc->sc_play.ch = 0; sc->sc_play.ch_intr = 1; - sc->sc_rec.ch = 31; - sc->sc_rec.ch_intr = 2; + sc->sc_rec.ch = 2; + sc->sc_rec.ch_intr = 3; } else { sc->sc_play.ch = 0x20; sc->sc_play.ch_intr = 0x21; -- 2.20.1