TRM_S1040_DMA_COMMAND
if (DC395x_read16(acb, TRM_S1040_DMA_COMMAND) & 0x0001) { /* read */
DC395x_write16(acb, TRM_S1040_DMA_COMMAND, io_dir);