You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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
@@ -2296,13 +2296,13 @@ out:
|
||||
|
||||
|
||||
/**
|
||||
* NCR5380_bus_reset - reset the SCSI bus
|
||||
* NCR5380_host_reset - reset the SCSI host
|
||||
* @cmd: SCSI command undergoing EH
|
||||
*
|
||||
* Returns SUCCESS
|
||||
*/
|
||||
|
||||
static int NCR5380_bus_reset(struct scsi_cmnd *cmd)
|
||||
static int NCR5380_host_reset(struct scsi_cmnd *cmd)
|
||||
{
|
||||
struct Scsi_Host *instance = cmd->device->host;
|
||||
struct NCR5380_hostdata *hostdata = shost_priv(instance);
|
||||
|
||||
Reference in New Issue
Block a user