OSDN Git Service

scsi: NCR5380: Clear all unissued commands on host reset
authorHannes Reinecke <hare@suse.com>
Thu, 27 Sep 2018 01:17:11 +0000 (11:17 +1000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 28 Sep 2018 06:16:32 +0000 (02:16 -0400)
commit1aeeeed7f03c576f096eede7b0384f99a98f588c
tree192bcb126af9b8de0aa53da5b1159aaddf442030
parent90ded4e2005b1195a5e781009be991e1cd049c10
scsi: NCR5380: Clear all unissued commands on host reset

When doing a host reset we should be clearing all outstanding commands, not
just the command triggering the reset.

[mkp: adjusted Hannes' SoB address]

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Ondrey Zary <linux@rainbow-software.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c