API change for bus_dma

Andrew Gallatin gallatin at cs.duke.edu
Fri Jun 27 13:41:13 PDT 2003


Scott Long writes:
 > 
 > As you hinted below, BUS_DMA_NOWAIT does what you want.  It will return
 > ENOMEM to the caller if the bounce buffers cannot be pre-allocated
 > during bus_dmamap_load().

OK, thanks.  I looks like sparc64 also returns ENOMEM if it runs out of
sgmap space..

One more question: What's the FreeBSD equivalent of Solaris'
DDI_DMA_CONSISTENT and DDI_DMA_STREAMING?

Thanks,

Drew


More information about the freebsd-arch mailing list