diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2013-01-18 05:49:53 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2013-01-18 05:49:53 +0000 |
commit | d96e88c0b28a4169d7ddfb7cede4d95910e6f03e (patch) | |
tree | ed3a457e18f2aae9aeaefe4b36182087f224728b /sys/dev/ic | |
parent | fd9fe78e14c556c9623d71c9b952fa97b4b279c5 (diff) |
data transfers suit STREAMING dma maps.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index f728348c295..ebcec580603 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.182 2013/01/17 03:05:11 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.183 2013/01/18 05:49:52 dlg Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -1524,7 +1524,7 @@ mpi_load_xs(struct mpi_ccb *ccb) } error = bus_dmamap_load(sc->sc_dmat, dmap, - xs->data, xs->datalen, NULL, + xs->data, xs->datalen, NULL, BUS_DMA_STREAMING | (xs->flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); if (error) { printf("%s: error %d loading dmamap\n", DEVNAME(sc), error); |