|
@@ -264,7 +264,7 @@ static void sis_ata133_program_timings(ide_drive_t *drive, const u8 mode)
|
|
if (mode >= XFER_MW_DMA_0) {
|
|
if (mode >= XFER_MW_DMA_0) {
|
|
t1 &= ~0x04; /* disable UDMA */
|
|
t1 &= ~0x04; /* disable UDMA */
|
|
idx = mode - XFER_MW_DMA_0 + 5;
|
|
idx = mode - XFER_MW_DMA_0 + 5;
|
|
- }
|
|
|
|
|
|
+ } else
|
|
idx = mode - XFER_PIO_0;
|
|
idx = mode - XFER_PIO_0;
|
|
t1 |= ini_time_value[clk][idx] << 12;
|
|
t1 |= ini_time_value[clk][idx] << 12;
|
|
t1 |= act_time_value[clk][idx] << 16;
|
|
t1 |= act_time_value[clk][idx] << 16;
|