ibmvscsi: set max_lun to 32
authorLaurent Vivier <lvivier@redhat.com>
Mon, 9 Nov 2015 16:49:09 +0000 (17:49 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 12 Nov 2015 02:01:15 +0000 (21:01 -0500)
commit3467a1468fe00fe3f693907f01d980f62d1e46a3
treeef8ec7897d0ef12c403f0958be6d8b2c485b240f
parente3678a0c4c207d2d0104d69bffbe37c965d4e87d
ibmvscsi: set max_lun to 32

As defined in 4.6.9 of SAM-4, the encoding of LUN is
on 5 bits (max_lun=32) and the current value is only 8.
Set max_lun to IBMVSCSI_MAX_LUN (32).

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi/ibmvscsi.c
drivers/scsi/ibmvscsi/ibmvscsi.h