]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf905bb4af519f8b0638732c361558c89c40fefb7
tree9d3fe75087d48ae497c135d4d7122f6f1c409cd6
parent1de6be6d0c04fe512f780d15fc5090ae651e018f
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