diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-04-27 15:17:20 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-04-27 15:17:20 +0000 |
commit | c6da5747e39816c0b25624e90bd243ff68288b4b (patch) | |
tree | 5d6750056f9807fda4deebb12a10b6a9eee8dc44 /sys/dev | |
parent | 00597977ec70ebf5168bf9f93723a69cb90d06c4 (diff) |
from PAE work:
add a BUS_DMA_24BIT flag to signify that dmamap being created
is for the isadma use (thus already backed up by the bounce
buffers). later also to be used for dmamem allocation.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isa/isadma.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/isadma.c b/sys/dev/isa/isadma.c index 6c372b26ef1..b33de81258b 100644 --- a/sys/dev/isa/isadma.c +++ b/sys/dev/isa/isadma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isadma.c,v 1.29 2005/11/23 10:00:12 mpf Exp $ */ +/* $OpenBSD: isadma.c,v 1.30 2006/04/27 15:17:19 mickey Exp $ */ /* $NetBSD: isadma.c,v 1.32 1997/09/05 01:48:33 thorpej Exp $ */ /*- @@ -128,7 +128,8 @@ isadmaattach(parent, self, aux) for (i = 0; i < 8; i++) { sz = (i & 4) ? 1 << 17 : 1 << 16; if ((bus_dmamap_create(sc->sc_dmat, sz, 1, sz, sz, - BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW, &isadma_dmam[i])) != 0) + BUS_DMA_24BIT|BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW, + &isadma_dmam[i])) != 0) panic("isadmaattach: can not create DMA map"); } #endif |