summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2007-05-01 11:50:11 +0000
committermarius <marius@FreeBSD.org>2007-05-01 11:50:11 +0000
commit56848683c4329b4d2b66234a1a82d03aad77c811 (patch)
tree3ea311482e4bb031b2fe9137f3c2601cbc293e42 /sys/dev
parent878415249d99434a6970a9222f1dcf5dd4c94ce9 (diff)
downloadFreeBSD-src-56848683c4329b4d2b66234a1a82d03aad77c811.zip
FreeBSD-src-56848683c4329b4d2b66234a1a82d03aad77c811.tar.gz
Remove invalid BUS_DMA_ALLOCNOW when creating a tag which is used for
a "static" memory allocation only.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/hme/if_hme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index 7f4ce2f..dd5c0a9 100644
--- a/sys/dev/hme/if_hme.c
+++ b/sys/dev/hme/if_hme.c
@@ -223,7 +223,7 @@ hme_config(struct hme_softc *sc)
error = bus_dma_tag_create(sc->sc_pdmatag, 2048, 0,
BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL, size,
- 1, BUS_SPACE_MAXSIZE_32BIT, BUS_DMA_ALLOCNOW, busdma_lock_mutex,
+ 1, BUS_SPACE_MAXSIZE_32BIT, 0, busdma_lock_mutex,
&sc->sc_lock, &sc->sc_cdmatag);
if (error)
goto fail_ptag;
OpenPOWER on IntegriCloud