sh: stylistic improvements for the DMA driver