ide-cris: handle PIO auto-tuning in tune_cris_ide()

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 4099d143
...@@ -684,6 +684,8 @@ static void tune_cris_ide(ide_drive_t *drive, u8 pio) ...@@ -684,6 +684,8 @@ static void tune_cris_ide(ide_drive_t *drive, u8 pio)
{ {
int setup, strobe, hold; int setup, strobe, hold;
pio = ide_get_best_pio_mode(drive, pio, 4);
switch(pio) switch(pio)
{ {
case 0: case 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment