diff options
author | Uma Krishnan <ukrishn@linux.vnet.ibm.com> | 2017-06-22 04:15:18 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-26 21:01:10 +0200 |
commit | a834a36b57d93b31f683a5d2cf7d87e3e617cb70 (patch) | |
tree | 18593a1e89f70217ae1db9d06531111bb0a871e3 /drivers/scsi/cxlflash/main.h | |
parent | scsi: cxlflash: Add scsi command abort handler (diff) | |
download | linux-a834a36b57d93b31f683a5d2cf7d87e3e617cb70.tar.xz linux-a834a36b57d93b31f683a5d2cf7d87e3e617cb70.zip |
scsi: cxlflash: Create character device to provide host management interface
The cxlflash driver currently lacks host management interface. Future
devices supported by cxlflash will provide a variety of host-wide
management functions. Examples include LUN provisioning, hardware debug
support, and firmware download.
In order to provide a way to manage the device, a character device will
be created during probe of each adapter. This device will support a set of
ioctls defined in the SISLite specification from which administrators can
manage the adapter.
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/cxlflash/main.h')
-rw-r--r-- | drivers/scsi/cxlflash/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/cxlflash/main.h b/drivers/scsi/cxlflash/main.h index 49657f1f409e..44c86c2d84f5 100644 --- a/drivers/scsi/cxlflash/main.h +++ b/drivers/scsi/cxlflash/main.h @@ -22,6 +22,7 @@ #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 |