diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2015-06-10 20:02:43 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2015-06-10 20:02:43 +0000 |
commit | a62a385bc6aebe80d2d07452232649939325d08c (patch) | |
tree | 4ad29feb1445bb439dc67919f2daf919b3d45925 /sys/dev/pci | |
parent | cfc1ab61f27510fb4374cc9f16cda7fecc311cf0 (diff) |
Use first 4 channels of the board. The previous channel setting
caused DMA on the wrong memory location during recording.
ok kettenis@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/autri.c | 6 |
1 files 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; |