Re: Bug in /drivers/scsi/3w-9xxx.h

From: Randy Dunlap
Date: Tue Aug 28 2018 - 13:00:32 EST


[add linux-scsi list]

On 08/28/2018 05:23 AM, Frank Kammer wrote:
> Hello,
>
> I have a 3ware 9650SE RAID-Controller with 20 LUNs. Using an unpachted
> kernel (no matter which version, e.g., 4.12.14) , only 17 LUNs are shown.
>
> The problem is that the driver was once written for a 3ware 9550SE
> RAID-Controlle that supports only 16 LUNs.
> There are some changes in driver to allow 32 LUNs, but one change is
> forgotten:Â
>
> In drivers/scsi/3w-9xxx.h, one must replace the following:
>
> 467c467
> < #define TW_MAX_LUNS(srl) (srl < TW_FW_SRL_LUNS_SUPPORTED ? 1 : 16)
> ---
>> #define TW_MAX_LUNS(srl) (srl < TW_FW_SRL_LUNS_SUPPORTED ? 1 : 32)
>
> Best regards,
> Frank Kammer
>


--
~Randy