diff options
Diffstat (limited to 'drivers/scsi/arm')
-rw-r--r-- | drivers/scsi/arm/cumana_1.c | 2 | ||||
-rw-r--r-- | drivers/scsi/arm/ecoscsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/arm/fas216.c | 3 | ||||
-rw-r--r-- | drivers/scsi/arm/oak.c | 2 |
4 files changed, 3 insertions, 6 deletions
diff --git a/drivers/scsi/arm/cumana_1.c b/drivers/scsi/arm/cumana_1.c index 27271bfc01d7..26498553a7cc 100644 --- a/drivers/scsi/arm/cumana_1.c +++ b/drivers/scsi/arm/cumana_1.c | |||
@@ -244,9 +244,7 @@ static Scsi_Host_Template cumanascsi_template = { | |||
244 | .info = cumanascsi_info, | 244 | .info = cumanascsi_info, |
245 | .queuecommand = cumanascsi_queue_command, | 245 | .queuecommand = cumanascsi_queue_command, |
246 | .eh_abort_handler = NCR5380_abort, | 246 | .eh_abort_handler = NCR5380_abort, |
247 | .eh_device_reset_handler= NCR5380_device_reset, | ||
248 | .eh_bus_reset_handler = NCR5380_bus_reset, | 247 | .eh_bus_reset_handler = NCR5380_bus_reset, |
249 | .eh_host_reset_handler = NCR5380_host_reset, | ||
250 | .can_queue = 16, | 248 | .can_queue = 16, |
251 | .this_id = 7, | 249 | .this_id = 7, |
252 | .sg_tablesize = SG_ALL, | 250 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/arm/ecoscsi.c b/drivers/scsi/arm/ecoscsi.c index 303648a84709..f8a7fdd3c465 100644 --- a/drivers/scsi/arm/ecoscsi.c +++ b/drivers/scsi/arm/ecoscsi.c | |||
@@ -162,9 +162,7 @@ static Scsi_Host_Template ecoscsi_template = { | |||
162 | .info = ecoscsi_info, | 162 | .info = ecoscsi_info, |
163 | .queuecommand = ecoscsi_queue_command, | 163 | .queuecommand = ecoscsi_queue_command, |
164 | .eh_abort_handler = NCR5380_abort, | 164 | .eh_abort_handler = NCR5380_abort, |
165 | .eh_device_reset_handler= NCR5380_device_reset, | ||
166 | .eh_bus_reset_handler = NCR5380_bus_reset, | 165 | .eh_bus_reset_handler = NCR5380_bus_reset, |
167 | .eh_host_reset_handler = NCR5380_host_reset, | ||
168 | .can_queue = 16, | 166 | .can_queue = 16, |
169 | .this_id = 7, | 167 | .this_id = 7, |
170 | .sg_tablesize = SG_ALL, | 168 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/arm/fas216.c b/drivers/scsi/arm/fas216.c index 3838f88e1fe0..4772fb317f3e 100644 --- a/drivers/scsi/arm/fas216.c +++ b/drivers/scsi/arm/fas216.c | |||
@@ -2659,6 +2659,8 @@ int fas216_eh_host_reset(Scsi_Cmnd *SCpnt) | |||
2659 | { | 2659 | { |
2660 | FAS216_Info *info = (FAS216_Info *)SCpnt->device->host->hostdata; | 2660 | FAS216_Info *info = (FAS216_Info *)SCpnt->device->host->hostdata; |
2661 | 2661 | ||
2662 | spin_lock_irq(info->host->host_lock); | ||
2663 | |||
2662 | fas216_checkmagic(info); | 2664 | fas216_checkmagic(info); |
2663 | 2665 | ||
2664 | printk("scsi%d.%c: %s: resetting host\n", | 2666 | printk("scsi%d.%c: %s: resetting host\n", |
@@ -2686,6 +2688,7 @@ int fas216_eh_host_reset(Scsi_Cmnd *SCpnt) | |||
2686 | 2688 | ||
2687 | fas216_init_chip(info); | 2689 | fas216_init_chip(info); |
2688 | 2690 | ||
2691 | spin_unlock_irq(info->host->host_lock); | ||
2689 | return SUCCESS; | 2692 | return SUCCESS; |
2690 | } | 2693 | } |
2691 | 2694 | ||
diff --git a/drivers/scsi/arm/oak.c b/drivers/scsi/arm/oak.c index ff2554f4cb80..de24bb991f1d 100644 --- a/drivers/scsi/arm/oak.c +++ b/drivers/scsi/arm/oak.c | |||
@@ -118,9 +118,7 @@ static Scsi_Host_Template oakscsi_template = { | |||
118 | .info = oakscsi_info, | 118 | .info = oakscsi_info, |
119 | .queuecommand = oakscsi_queue_command, | 119 | .queuecommand = oakscsi_queue_command, |
120 | .eh_abort_handler = NCR5380_abort, | 120 | .eh_abort_handler = NCR5380_abort, |
121 | .eh_device_reset_handler= NCR5380_device_reset, | ||
122 | .eh_bus_reset_handler = NCR5380_bus_reset, | 121 | .eh_bus_reset_handler = NCR5380_bus_reset, |
123 | .eh_host_reset_handler = NCR5380_host_reset, | ||
124 | .can_queue = 16, | 122 | .can_queue = 16, |
125 | .this_id = 7, | 123 | .this_id = 7, |
126 | .sg_tablesize = SG_ALL, | 124 | .sg_tablesize = SG_ALL, |