summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aha.c
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-03-07 23:07:12 +0000
committerthorpej <thorpej@NetBSD.org>2001-03-07 23:07:12 +0000
commitfd7ed72be10effbaa920ca7dfd19c8388549e759 (patch)
treecb13e61dbcaaef1eddebe05d1a4c853ad241498d /sys/dev/ic/aha.c
parent4e453153779dbc6890aba3b910f00dc2c69c601a (diff)
Add BUS_DMA_STREAMING to data transfer maps.
Diffstat (limited to 'sys/dev/ic/aha.c')
-rw-r--r--sys/dev/ic/aha.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/aha.c b/sys/dev/ic/aha.c
index 6b013b0c790..8d7c91903fb 100644
--- a/sys/dev/ic/aha.c
+++ b/sys/dev/ic/aha.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aha.c,v 1.29 2000/11/14 18:21:00 thorpej Exp $ */
+/* $NetBSD: aha.c,v 1.30 2001/03/07 23:07:13 thorpej Exp $ */
#include "opt_ddb.h"
@@ -1287,15 +1287,15 @@ aha_scsi_cmd(xs)
if (flags & XS_CTL_DATA_UIO) {
error = bus_dmamap_load_uio(dmat,
ccb->dmamap_xfer, (struct uio *)xs->data,
- (flags & XS_CTL_NOSLEEP) ? BUS_DMA_NOWAIT :
- BUS_DMA_WAITOK);
+ ((flags & XS_CTL_NOSLEEP) ? BUS_DMA_NOWAIT :
+ BUS_DMA_WAITOK) | BUS_DMA_STREAMING);
} else
#endif
{
error = bus_dmamap_load(dmat,
ccb->dmamap_xfer, xs->data, xs->datalen, NULL,
- (flags & XS_CTL_NOSLEEP) ? BUS_DMA_NOWAIT :
- BUS_DMA_WAITOK);
+ ((flags & XS_CTL_NOSLEEP) ? BUS_DMA_NOWAIT :
+ BUS_DMA_WAITOK) | BUS_DMA_STREAMING);
}
if (error) {