ncr5380: Reduce max_lun limit
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 23 Mar 2016 10:10:23 +0000 (21:10 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
commitae5e33af42eb1f1262cfc8722072561b908bf914
tree2c61399cc853783b484598cea93208b626ccb94d
parentc4ec6f924f0682e1f40107204152e977d6b1bd07
ncr5380: Reduce max_lun limit

The driver has a limit of eight LUs because of the byte-sized bitfield
that is used for busy flags. That means the maximum LUN is 7. The default
is 8.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c