patch-2.1.40 linux/drivers/scsi/atari_scsi.c
Next file: linux/drivers/scsi/hosts.c
Previous file: linux/drivers/scsi/amiga7xx.h
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Sun May 18 17:10:38 1997
-  Orig file: 
v2.1.39/linux/drivers/scsi/atari_scsi.c
-  Orig date: 
Tue May 13 22:41:13 1997
diff -u --recursive --new-file v2.1.39/linux/drivers/scsi/atari_scsi.c linux/drivers/scsi/atari_scsi.c
@@ -1026,6 +1026,10 @@
 {
 	unsigned long	possible_len, limit;
 
+	if (is_hades)
+		/* Hades has no SCSI DMA at all :-( Always force use of PIO */
+		return( 0 );
+	
 	if (IS_A_TT())
 		/* TT SCSI DMA can transfer arbitrary #bytes */
 		return( wanted_len );
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov