Commit 30b010d8 authored by James Bottomley's avatar James Bottomley

[SCSI] replace max_host_blocked initialisation lost in hosts rework

parent 55ce6346
...@@ -390,8 +390,9 @@ struct Scsi_Host * scsi_register(Scsi_Host_Template *shost_tp, int xtr_bytes) ...@@ -390,8 +390,9 @@ struct Scsi_Host * scsi_register(Scsi_Host_Template *shost_tp, int xtr_bytes)
*/ */
shost->max_cmd_len = 12; shost->max_cmd_len = 12;
shost->hostt = shost_tp; shost->hostt = shost_tp;
shost->host_blocked = FALSE; shost->host_blocked = 0;
shost->host_self_blocked = FALSE; shost->host_self_blocked = FALSE;
shost->max_host_blocked = shost_tp->max_host_blocked ? shost_tp->max_host_blocked : SCSI_DEFAULT_HOST_BLOCKED;
#ifdef DEBUG #ifdef DEBUG
printk("%s: %x %x: %d\n", __FUNCTION_ (int)shost, printk("%s: %x %x: %d\n", __FUNCTION_ (int)shost,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment