patch-2.3.32 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: 39
- Date:
Sun Dec 12 23:04:20 1999
- Orig file:
v2.3.31/linux/drivers/scsi/hosts.c
- Orig date:
Tue Nov 23 22:42:21 1999
diff -u --recursive --new-file v2.3.31/linux/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c
@@ -696,8 +696,6 @@
atomic_set(&retval->host_active,0);
retval->host_busy = 0;
retval->host_failed = 0;
- retval->block = NULL;
- retval->wish_block = 0;
if(j > 0xffff) panic("Too many extra bytes requested\n");
retval->extra_bytes = j;
retval->loaded_as_module = scsi_loadable_module_flag;
@@ -723,11 +721,8 @@
retval->ehandler = NULL; /* Initial value until the thing starts up. */
retval->eh_notify = NULL; /* Who we notify when we exit. */
- /*
- * Initialize the fields used for mid-level queueing.
- */
- retval->pending_commands = NULL;
- retval->host_busy = FALSE;
+
+ retval->host_blocked = FALSE;
#ifdef DEBUG
printk("Register %x %x: %d\n", (int)retval, (int)retval->hostt, j);
@@ -783,6 +778,7 @@
kernel_thread((int (*)(void *))scsi_error_handler,
(void *) shpnt, 0);
+
/*
* Now wait for the kernel error thread to initialize itself
* as it might be needed when we scan the bus.
@@ -873,7 +869,6 @@
printk ("scsi : %d host%s.\n", next_scsi_host,
(next_scsi_host == 1) ? "" : "s");
- scsi_make_blocked_list();
/* Now attach the high level drivers */
#ifdef CONFIG_BLK_DEV_SD
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)