patch-2.0.4 linux/drivers/scsi/ncr53c8xx.c

Next file: linux/drivers/scsi/scsi.c
Previous file: linux/drivers/scsi/README.FlashPoint
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.3/linux/drivers/scsi/ncr53c8xx.c linux/drivers/scsi/ncr53c8xx.c
@@ -8023,6 +8023,12 @@
 		break;
 	}
 
+	/*
+	** Not allow to disable tagged queue
+	*/ 
+	if (uc->cmd == UC_SETTAGS && uc->data < 1)
+		return -EINVAL;
+
 	if (len)
 		return -EINVAL;
 #ifdef SCSI_NCR_USER_COMMAND

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