Skip to content

Commit

Permalink
ide-cris: handle PIO auto-tuning in tune_cris_ide()
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 19, 2007
1 parent 4099d14 commit d281e9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/ide/cris/ide-cris.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,8 @@ static void tune_cris_ide(ide_drive_t *drive, u8 pio)
{
int setup, strobe, hold;

pio = ide_get_best_pio_mode(drive, pio, 4);

switch(pio)
{
case 0:
Expand Down

0 comments on commit d281e9a

Please sign in to comment.