atari_NCR5380: Fix queue_size limit
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 3 Jan 2016 05:05:49 +0000 (16:05 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:43:03 +0000 (21:43 -0500)
commite42d01518d006c4557e202bc9e8fdc41972fb49f
treed10ac01acca4f76176b80fca0e08d24b36e0283f
parentaa2e2cb1dde0e72e039f94210fb17e73661a6351
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>
drivers/scsi/atari_NCR5380.c