diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-01-25 23:53:36 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-01-25 23:53:36 +0000 |
commit | 8ae845db2e2a573eeed71f3350d727d3803ae580 (patch) | |
tree | 8f062068a6e0cd54950c4a99a124fff8cb8debb9 /sys | |
parent | 533413b06519c03d69024b68a33596d2e542421c (diff) |
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@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/auixp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |