scsi: aacraid: Fix 2T+ drives on SmartIOC-2000
authorDave Carroll <david.carroll@microsemi.com>
Fri, 15 Sep 2017 17:04:28 +0000 (11:04 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Sep 2017 19:49:43 +0000 (15:49 -0400)
commit6c92f7dbf25c36f35320e4ae0b508676410bac04
tree9d3fe75087d48ae497c135d4d7122f6f1c409cd6
parent3e0097499839e0fe3af380410eababe5a47c4cf9
scsi: aacraid: Fix 2T+ drives on SmartIOC-2000

The logic for supporting large drives was previously tied to 4Kn support
for SmartIOC-2000. As SmartIOC-2000 does not support volumes using 4Kn
drives, use the intended option flag AAC_OPT_NEW_COMM_64 to determine
support for volumes greater than 2T.

Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Carroll <david.carroll@microsemi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/aachba.c
drivers/scsi/aacraid/aacraid.h