diff options
author | Bean Huo <beanhuo@micron.com> | 2020-01-20 14:08:20 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-01-20 19:16:10 -0500 |
commit | 1baa80118e0324bf5063c2576b531a14cb57f874 (patch) | |
tree | 214c4251a4947b28d5fb76b6fba37222334e0efc /drivers/scsi/hisi_sas | |
parent | 731f06216df3d605c466571a1c89222b4cca2fbc (diff) | |
download | linux-rt-1baa80118e0324bf5063c2576b531a14cb57f874.tar.gz |
scsi: ufs: Use UFS device indicated maximum LU number
According to Jedec standard UFS 3.0 and UFS 2.1 Spec, Maximum number of
logical units supported by the UFS device is indicated by parameter
bMaxNumberLU in Geometry Descriptor. This patch is to delete current hard
code macro definition of UFS_UPIU_MAX_GENERAL_LUN, and switch to use device
indicated number instead.
Link: https://lore.kernel.org/r/20200120130820.1737-9-huobean@gmail.com
Reviewed-by: Asutosh Das <asutoshd@codeaurora.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas')
0 files changed, 0 insertions, 0 deletions