]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdbbeae030fd69796c7639c5d65d4691e89812ef1
tree9b653cf663f4b1fcf90448cf99bf7ed2c4a0381c
parent99dab24ba1408569422205f52382f321d7959a30
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