scsi: NCR5380: Move bus reset to host reset
The bus reset handler really is a host reset, so move it to eh_bus_reset_handler. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
74fa80ee3f
commit
12e5fc665a
@@ -41,7 +41,7 @@
|
||||
#define NCR5380_intr macscsi_intr
|
||||
#define NCR5380_queue_command macscsi_queue_command
|
||||
#define NCR5380_abort macscsi_abort
|
||||
#define NCR5380_bus_reset macscsi_bus_reset
|
||||
#define NCR5380_host_reset macscsi_host_reset
|
||||
#define NCR5380_info macscsi_info
|
||||
|
||||
#include "NCR5380.h"
|
||||
@@ -328,7 +328,7 @@ static struct scsi_host_template mac_scsi_template = {
|
||||
.info = macscsi_info,
|
||||
.queuecommand = macscsi_queue_command,
|
||||
.eh_abort_handler = macscsi_abort,
|
||||
.eh_bus_reset_handler = macscsi_bus_reset,
|
||||
.eh_host_reset_handler = macscsi_host_reset,
|
||||
.can_queue = 16,
|
||||
.this_id = 7,
|
||||
.sg_tablesize = 1,
|
||||
|
Reference in New Issue
Block a user