/* Set up the channel for MWDMA or UDMA modes. Much the same as with PIO, load the mode number and then set MWDMA or UDMA flag.  */
static void hpt366_set_dmamode(struct ata_port *ap, struct ata_device *adev)
/* Set up the channel for MWDMA or UDMA modes. Much the same as with PIO, load the mode number and then set MWDMA or UDMA flag.  */
static void hpt366_set_dmamode(struct ata_port *ap, struct ata_device *adev)
{
	hpt366_set_mode(ap, adev, adev->dma_mode);
}