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

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