mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
Remove invalid BUS_DMA_ALLOCNOW when creating a tag which is used for
a "static" memory allocation only.
This commit is contained in:
parent
8d2896ac91
commit
e3b78ec974
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169166
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue