summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-11-21 04:03:29 +0000
committerscottl <scottl@FreeBSD.org>2004-11-21 04:03:29 +0000
commit0b30660485af86da2ef463e64b45bad09334a2da (patch)
tree468e6296695a8990e5dc85b595840d341bfc1084 /sys/dev/aac
parent6f7ab617d88cfebc805bef4aa9ea4f4c9d746aee (diff)
downloadFreeBSD-src-0b30660485af86da2ef463e64b45bad09334a2da.zip
FreeBSD-src-0b30660485af86da2ef463e64b45bad09334a2da.tar.gz
Don't force busdma to pre-allocate bounce pages for static allocations.
Diffstat (limited to 'sys/dev/aac')
-rw-r--r--sys/dev/aac/aac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index 0cf61de..ddacd14 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -1485,7 +1485,7 @@ aac_init(struct aac_softc *sc)
1, /* nsegments */
AAC_FIB_COUNT *
sizeof(struct aac_fib), /* maxsegsize */
- BUS_DMA_ALLOCNOW, /* flags */
+ 0, /* flags */
NULL, NULL, /* No locking needed */
&sc->aac_fib_dmat)) {
device_printf(sc->aac_dev, "can't allocate FIB DMA tag\n");;
@@ -1505,7 +1505,7 @@ aac_init(struct aac_softc *sc)
8192 + sizeof(struct aac_common), /* maxsize */
1, /* nsegments */
BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
- BUS_DMA_ALLOCNOW, /* flags */
+ 0, /* flags */
NULL, NULL, /* No locking needed */
&sc->aac_common_dmat)) {
device_printf(sc->aac_dev,
OpenPOWER on IntegriCloud