patch-2.0.8 linux/drivers/scsi/53c7,8xx.c

Next file: linux/drivers/scsi/BusLogic.c
Previous file: linux/drivers/net/ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.7/linux/drivers/scsi/53c7,8xx.c linux/drivers/scsi/53c7,8xx.c
@@ -3546,6 +3546,7 @@
     case MODE_SELECT: 
     case WRITE_6:
     case WRITE_10:
+    case START_STOP: /* also SCAN, which may do DATA OUT */
 #if 0
 	printk("scsi%d : command is ", host->host_no);
 	print_command(cmd->cmnd);
@@ -3564,7 +3565,6 @@
      * These commands do no data transfer, we should force an
      * interrupt if a data phase is attempted on them.
      */
-    case START_STOP:
     case TEST_UNIT_READY:
     	datain = dataout = 0;
 	break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov