summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/g_NCR5380.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2016-01-03 06:05:49 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-07 03:43:03 +0100
commite42d01518d006c4557e202bc9e8fdc41972fb49f (patch)
treed10ac01acca4f76176b80fca0e08d24b36e0283f /drivers/scsi/g_NCR5380.c
parentncr5380: Fix and cleanup scsi_host_template initializers (diff)
downloadlinux-e42d01518d006c4557e202bc9e8fdc41972fb49f.tar.xz
linux-e42d01518d006c4557e202bc9e8fdc41972fb49f.zip
atari_NCR5380: Fix queue_size limit
When a target reports a QUEUE_FULL condition it causes the driver to update the 'queue_size' limit with the number of currently allocated tags. At least, that's what's supposed to happen, according to the comments. Unfortunately the terms in the assignment are swapped. Fix this and cleanup some obsolete comments. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/g_NCR5380.c')
0 files changed, 0 insertions, 0 deletions