aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/piix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/piix.c')
-rw-r--r--drivers/ide/pci/piix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c
index 4dd1b6d0acb5..dcb0701f10b5 100644
--- a/drivers/ide/pci/piix.c
+++ b/drivers/ide/pci/piix.c
@@ -267,8 +267,7 @@ static int piix_config_drive_xfer_rate (ide_drive_t *drive)
267 if (ide_tune_dma(drive)) 267 if (ide_tune_dma(drive))
268 return 0; 268 return 0;
269 269
270 if (ide_use_fast_pio(drive)) 270 ide_set_max_pio(drive);
271 ide_set_max_pio(drive);
272 271
273 return -1; 272 return -1;
274} 273}