On Feb 19, 2009, at 3:54 PM, Christoph Egger wrote:
Further, bus_dma(9) manpage is not clear about the parameters if they are intended to be NULL or undefined in error case. manpage just says, bus_dmamap_create returns non-zero in failure case.
I will clarify the man page soon -- if bus_dmamap_create() fails, then the DMA map is invalid and the contents of *dmamp are undefined.
-- thorpej