From e3b78ec974ec6d1482fe6170813646c88b489034 Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Tue, 1 May 2007 11:50:11 +0000 Subject: [PATCH] Remove invalid BUS_DMA_ALLOCNOW when creating a tag which is used for a "static" memory allocation only. --- sys/dev/hme/if_hme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c index 7f4ce2fe1fb3..dd5c0a9ddfc4 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;