patch-2.4.23 linux-2.4.23/drivers/ide/ide-iops.c

Next file: linux-2.4.23/drivers/ide/ide-probe-mini.c
Previous file: linux-2.4.23/drivers/ide/ide-io.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/ide/ide-iops.c linux-2.4.23/drivers/ide/ide-iops.c
@@ -741,6 +741,10 @@
 
 int ide_ata66_check (ide_drive_t *drive, ide_task_t *args)
 {
+	/* SATA has no cable restrictions */
+	if (HWIF(drive)->sata)
+		return 0;
+		
 	if ((args->tfRegister[IDE_COMMAND_OFFSET] == WIN_SETFEATURES) &&
 	    (args->tfRegister[IDE_SECTOR_OFFSET] > XFER_UDMA_2) &&
 	    (args->tfRegister[IDE_FEATURE_OFFSET] == SETFEATURES_XFER)) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)