diff --git a/[refs] b/[refs] index 7ffd675892f1..1ac55baaff95 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0716302eec10c3a4c3c5110e43a5ac05ac4b2445 +refs/heads/master: bb430611930c526ff9bca991f254b259fc58ed3c diff --git a/trunk/drivers/ide/siimage.c b/trunk/drivers/ide/siimage.c index 2009ac2ff658..ddeda444a27a 100644 --- a/trunk/drivers/ide/siimage.c +++ b/trunk/drivers/ide/siimage.c @@ -258,7 +258,7 @@ static void sil_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) /* trim *taskfile* PIO to the slowest of the master/slave */ if (pair) { - u8 pair_pio = ide_get_best_pio_mode(pair, 255, 4); + u8 pair_pio = pair->pio_mode - XFER_PIO_0; if (pair_pio < tf_pio) tf_pio = pair_pio;