]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bf8bc89068ae8d57d9f1b09fdbf6ca827960915
treeef8ec7897d0ef12c403f0958be6d8b2c485b240f
parent467b7a686c41a04d96049c20f6d06a2132d6fc42
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