mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
ide-cris: fix ->set_pio_mode method to set transfer mode on the device
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
2195dadf85
commit
8292e8c7e4
1 changed files with 2 additions and 0 deletions
|
@ -718,6 +718,8 @@ static void tune_cris_ide(ide_drive_t *drive, u8 pio)
|
||||||
}
|
}
|
||||||
|
|
||||||
cris_ide_set_speed(TYPE_PIO, setup, strobe, hold);
|
cris_ide_set_speed(TYPE_PIO, setup, strobe, hold);
|
||||||
|
|
||||||
|
(void)ide_config_drive_speed(drive, XFER_PIO_0 + pio);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int speed_cris_ide(ide_drive_t *drive, u8 speed)
|
static int speed_cris_ide(ide_drive_t *drive, u8 speed)
|
||||||
|
|
Loading…
Reference in a new issue