scsi: sym53c8xx_2: Rework reset handling
authorHannes Reinecke <hare@suse.de>
Mon, 2 Oct 2023 15:43:24 +0000 (17:43 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Oct 2023 18:23:15 +0000 (14:23 -0400)
commitc7c559d2b39a64d1c2c45321d92f32171e7694f3
treeff44534c1533bffc40f50410e944c77326ffbf2f
parent4980ae18c37beec9c55905014864cfe134698b68
scsi: sym53c8xx_2: Rework reset handling

Split off the combined abort and device reset handling into distinct
functions. And rename the current device reset handler into a target reset
handler, seeing that it really is a target reset.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20231002154328.43718-15-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sym53c8xx_2/sym_glue.c