Update dma.h

It is the first workable version for new APIs.