]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/scsi/cxlflash/main.h
scsi: cxlflash: Create character device to provide host management interface
[mirror_ubuntu-zesty-kernel.git] / drivers / scsi / cxlflash / main.h
index e43545c86bcf9f39f73a040ed0f49a7d71beb45f..44c86c2d84f5665dc58e14ce8ffd60e744134a1b 100644 (file)
 
 #define CXLFLASH_NAME          "cxlflash"
 #define CXLFLASH_ADAPTER_NAME  "IBM POWER CXL Flash Adapter"
+#define CXLFLASH_MAX_ADAPTERS  32
 
 #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
@@ -36,8 +38,6 @@
 
 #define CXLFLASH_PCI_ERROR_RECOVERY_TIMEOUT    (120 * HZ)
 
-#define NUM_FC_PORTS   CXLFLASH_NUM_FC_PORTS   /* ports per AFU */
-
 /* FC defines */
 #define FC_MTIP_CMDCONFIG 0x010
 #define FC_MTIP_STATUS 0x018