diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 06:05:58 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-07 03:43:07 +0100 |
commit | 32b26a104237c1ba3575a6c8d47e46060cc416fb (patch) | |
tree | 436ad259aa17efdd392ee60a6a687efaa20ead13 /drivers/scsi/atari_scsi.c | |
parent | ncr5380: Remove redundant volatile qualifiers (diff) | |
download | linux-32b26a104237c1ba3575a6c8d47e46060cc416fb.tar.xz linux-32b26a104237c1ba3575a6c8d47e46060cc416fb.zip |
ncr5380: Use standard list data structure
The NCR5380 drivers have a home-spun linked list implementation for
scsi_cmnd structs that uses cmd->host_scribble as a 'next' pointer. Adopt
the standard list_head data structure and list operations instead. Remove
the eh_abort_handler rather than convert it. Doing the conversion would
only be churn because the existing EH handlers don't work and get replaced
in a subsequent patch.
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/atari_scsi.c')
-rw-r--r-- | drivers/scsi/atari_scsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/atari_scsi.c b/drivers/scsi/atari_scsi.c index e271b08ccbb2..263cf06a8f30 100644 --- a/drivers/scsi/atari_scsi.c +++ b/drivers/scsi/atari_scsi.c @@ -780,6 +780,7 @@ static struct scsi_host_template atari_scsi_template = { .eh_bus_reset_handler = atari_scsi_bus_reset, .this_id = 7, .use_clustering = DISABLE_CLUSTERING, + .cmd_size = NCR5380_CMD_SIZE, }; static int __init atari_scsi_probe(struct platform_device *pdev) |