static void tc86c001_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) { drive->dma_mode = drive->pio_mode; tc86c001_set_mode(hwif, drive); }
static void tc86c001_set_pio_mode(ide_drive_t *drive, const u8 pio) { tc86c001_set_mode(drive, XFER_PIO_0 + pio); }