ncr5380: Refactor command completion
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 3 Jan 2016 05:05:59 +0000 (16:05 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:43:07 +0000 (21:43 -0500)
commit677e01947e4a34ad97e9867af20435b8281c38e0
tree9b653cf663f4b1fcf90448cf99bf7ed2c4a0381c
parent32b26a104237c1ba3575a6c8d47e46060cc416fb
ncr5380: Refactor command completion

Implement a 'complete_cmd' function to complete commands. This is needed
by the following patch; the new function provides a site for the logic
needed to correctly handle REQUEST SENSE commands.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c
drivers/scsi/atari_NCR5380.c