]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
cxlflash: Add device dependent flags
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Wed, 15 Jun 2016 23:49:38 +0000 (18:49 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Jul 2016 03:16:31 +0000 (23:16 -0400)
commit96e1b660faa44c958d19ccf064b939a00bed6c90
tree2bd0c7fa586d911cf2a020e62c1ce21fc0ee60fe
parentf411396d9492761ab4f9fb58aa363a2926b94af8
cxlflash: Add device dependent flags

Device dependent flags are needed to support functions that are specific
to a particular device.

One such case is - some CXL Flash cards need to be notified of device
shutdown. For other CXL devices, this feature does not prove to be
useful yet. Such distinct features need to be identified in the driver
to bypass or invoke specific functionality.

In this patch, a member 'flags' has been added to device dependent
values. These flags will be used and expanded in the future to support
various device specific functions.

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