From 8ae845db2e2a573eeed71f3350d727d3803ae580 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Wed, 25 Jan 2006 23:53:36 +0000 Subject: Duh! If askes to halt the input dont halt the output instead. This also fixes the timeout on draining when closing. From reinoud NetBSD ok krw@ --- sys/dev/pci/auixp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c index 1bdf3005c9b..52e34d31842 100644 --- a/sys/dev/pci/auixp.c +++ b/sys/dev/pci/auixp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auixp.c,v 1.3 2005/11/26 14:31:26 krw Exp $ */ +/* $OpenBSD: auixp.c,v 1.4 2006/01/25 23:53:35 brad Exp $ */ /* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */ /* @@ -1019,7 +1019,7 @@ auixp_halt_input(void *hdl) co = (struct auixp_codec *) hdl; sc = co->sc; - dma = sc->sc_output_dma; + dma = sc->sc_input_dma; auixp_disable_dma(sc, dma); dma->running = 0; -- cgit v1.2.3