scsi: cxlflash: Enable PCI device ID for future IBM CXL Flash AFU
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Fri, 17 Feb 2017 03:39:32 +0000 (21:39 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Feb 2017 23:41:42 +0000 (18:41 -0500)
Add support for a future IBM Coherent Accelerator (CXL) flash AFU with
an ID of 0x0624.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/main.c
drivers/scsi/cxlflash/main.h

index 7069639e92bc404093b47a77405e94d1165e055d..3061d8045382e437b445d025b2c2910fb15c7a96 100644 (file)
@@ -2259,6 +2259,8 @@ static struct dev_dependent_vals dev_corsa_vals = { CXLFLASH_MAX_SECTORS,
                                        0ULL };
 static struct dev_dependent_vals dev_flash_gt_vals = { CXLFLASH_MAX_SECTORS,
                                        CXLFLASH_NOTIFY_SHUTDOWN };
+static struct dev_dependent_vals dev_briard_vals = { CXLFLASH_MAX_SECTORS,
+                                       CXLFLASH_NOTIFY_SHUTDOWN };
 
 /*
  * PCI device binding table
@@ -2268,6 +2270,8 @@ static struct pci_device_id cxlflash_pci_table[] = {
         PCI_ANY_ID, PCI_ANY_ID, 0, 0, (kernel_ulong_t)&dev_corsa_vals},
        {PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_FLASH_GT,
         PCI_ANY_ID, PCI_ANY_ID, 0, 0, (kernel_ulong_t)&dev_flash_gt_vals},
+       {PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_BRIARD,
+        PCI_ANY_ID, PCI_ANY_ID, 0, 0, (kernel_ulong_t)&dev_briard_vals},
        {}
 };
 
index e43545c86bcf9f39f73a040ed0f49a7d71beb45f..0be2261e6312240d44ab54f021dcc13346f96704 100644 (file)
@@ -25,6 +25,7 @@
 
 #define PCI_DEVICE_ID_IBM_CORSA                0x04F0
 #define PCI_DEVICE_ID_IBM_FLASH_GT     0x0600
+#define PCI_DEVICE_ID_IBM_BRIARD       0x0624
 
 /* Since there is only one target, make it 0 */
 #define CXLFLASH_TARGET                0