atari_NCR5380: Use arbitration timeout
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 3 Jan 2016 05:05:35 +0000 (16:05 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:42:58 +0000 (21:42 -0500)
commit55500d9b08295e3b6016b53879dea1cb7787f1b0
tree9866566badb1a99bc4a2e44f729e4546684c19be
parent80d3eb6df46603e0b7e9a7361fe5b98383182c7f
atari_NCR5380: Use arbitration timeout

Allow target selection to fail with a timeout instead of waiting in
infinite loops. This gets rid of the unused NCR_TIMEOUT macro, it is more
defensive and has proved helpful in debugging.

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