patch-2.3.47 linux/drivers/scsi/hosts.c
Next file: linux/drivers/scsi/hosts.h
Previous file: linux/drivers/scsi/esp.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Wed Feb 16 20:21:45 2000
- Orig file:
v2.3.46/linux/drivers/scsi/hosts.c
- Orig date:
Wed Feb 16 17:03:52 2000
diff -u --recursive --new-file v2.3.46/linux/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c
@@ -777,6 +777,14 @@
retval->max_id = 8;
retval->max_lun = 8;
+ /*
+ * All drivers right now should be able to handle 12 byte commands.
+ * Every so often there are requests for 16 byte commands, but individual
+ * low-level drivers need to certify that they actually do something
+ * sensible with such commands.
+ */
+ retval->max_cmd_len = 12;
+
retval->unique_id = 0;
retval->io_port = 0;
retval->hostt = tpnt;
@@ -787,6 +795,7 @@
retval->host_blocked = FALSE;
+ retval->host_self_blocked = FALSE;
#ifdef DEBUG
printk("Register %x %x: %d\n", (int)retval, (int)retval->hostt, j);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)