diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 08:05:44 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-07 05:43:01 +0300 |
commit | 72064a783b0c24dc4325295ffba949c115aff6d2 (patch) | |
tree | 3c09a60a36559d103b273585b1f5a4b1c568b9d4 /drivers/scsi/NCR5380.h | |
parent | 9db6024e55ee9b53c411d618e2a9476f6a130151 (diff) | |
download | linux-72064a783b0c24dc4325295ffba949c115aff6d2.tar.xz |
ncr5380: Standardize reselection handling
Bring the two NCR5380_reselect() implementations into agreement.
Replace infinite loops in atari_NCR5380.c with timeouts, as per NCR5380.c.
Remove 'abort' flag in NCR5380.c as per atari_NCR5380.c -- if reselection
fails, there may be no MESSAGE IN phase so don't attempt data transfer.
During selection, don't interfere with the chip registers after a
reselection interrupt intervenes.
Clean up some trivial issues with code style, comments and printk.
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>
Diffstat (limited to 'drivers/scsi/NCR5380.h')
0 files changed, 0 insertions, 0 deletions