Remove invalid BUS_DMA_ALLOCNOW when creating a tag which is used for

a "static" memory allocation only.
This commit is contained in:
Marius Strobl 2007-05-01 11:50:11 +00:00
parent 8d2896ac91
commit e3b78ec974
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169166

View file

@ -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;