patch-2.4.27 linux-2.4.27/drivers/ide/pci/sis5513.c
Next file: linux-2.4.27/drivers/ide/pci/slc90e66.c
Previous file: linux-2.4.27/drivers/ide/pci/siimage.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
2004-08-07 16:26:04.847354708 -0700
- Orig file:
linux-2.4.26/drivers/ide/pci/sis5513.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.26/drivers/ide/pci/sis5513.c linux-2.4.27/drivers/ide/pci/sis5513.c
@@ -697,13 +697,15 @@
} else {
goto fast_ata_pio;
}
+ return hwif->ide_dma_on(drive);
} else if ((id->capability & 8) || (id->field_valid & 2)) {
fast_ata_pio:
no_dma_set:
sis5513_tune_drive(drive, 5);
return hwif->ide_dma_off_quietly(drive);
}
- return hwif->ide_dma_on(drive);
+ /* IORDY not supported */
+ return 0;
}
/* initiates/aborts (U)DMA read/write operations on a drive. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)