patch-2.4.7 linux/drivers/scsi/hosts.c
Next file: linux/drivers/scsi/hosts.h
Previous file: linux/drivers/scsi/gdth_proc.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Thu Jul 5 11:28:17 2001
- Orig file:
v2.4.6/linux/drivers/scsi/hosts.c
- Orig date:
Tue Jul 3 17:08:20 2001
diff -u --recursive --new-file v2.4.6/linux/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c
@@ -69,7 +69,7 @@
* idiocy.
*/
-Scsi_Host_Template * scsi_hosts = NULL;
+Scsi_Host_Template * scsi_hosts;
/*
@@ -77,12 +77,12 @@
* MAX_SCSI_HOSTS here.
*/
-Scsi_Host_Name * scsi_host_no_list = NULL;
-struct Scsi_Host * scsi_hostlist = NULL;
-struct Scsi_Device_Template * scsi_devicelist = NULL;
+Scsi_Host_Name * scsi_host_no_list;
+struct Scsi_Host * scsi_hostlist;
+struct Scsi_Device_Template * scsi_devicelist;
-int max_scsi_hosts = 0;
-int next_scsi_host = 0;
+int max_scsi_hosts;
+int next_scsi_host;
void
scsi_unregister(struct Scsi_Host * sh){
@@ -237,6 +237,7 @@
retval->use_clustering = tpnt->use_clustering;
retval->select_queue_depths = tpnt->select_queue_depths;
+ retval->max_sectors = tpnt->max_sectors;
if(!scsi_hostlist)
scsi_hostlist = retval;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)