Add BUS_DMA_STREAMING to data transfer map loads.

This commit is contained in:
thorpej 2001-03-08 02:36:35 +00:00
parent c8f050a7f1
commit 6665b106a3
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcscp.c,v 1.12 2000/12/28 22:59:15 sommerfeld Exp $ */
/* $NetBSD: pcscp.c,v 1.13 2001/03/08 02:36:35 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@ -563,8 +563,8 @@ pcscp_dma_setup(sc, addr, len, datain, dmasize)
error = bus_dmamap_load(esc->sc_dmat, dmap, *esc->sc_dmaaddr,
*esc->sc_dmalen, NULL,
sc->sc_nexus->xs->xs_control & XS_CTL_NOSLEEP ?
BUS_DMA_NOWAIT : BUS_DMA_WAITOK);
((sc->sc_nexus->xs->xs_control & XS_CTL_NOSLEEP) ?
BUS_DMA_NOWAIT : BUS_DMA_WAITOK) | BUS_DMA_STREAMING);
if (error) {
printf("%s: unable to load dmamap, error = %d\n",
sc->sc_dev.dv_xname, error);