linux/drivers/scsi/cxlflash
Matthew R. Ochs cf24302790 scsi: cxlflash: Separate AFU internal command handling from AFU sync specifics
To date the only supported internal AFU command is AFU sync. The logic
to send an internal AFU command is embedded in the specific AFU sync
handler and would need to be duplicated for new internal AFU commands.

In order to support new internal AFU commands, separate code that is
common for AFU internal commands into a generic transmission routine
and support passing back command status through an IOASA structure.
The first user of this new routine is the existing AFU sync command.
As a cleanup, use a descriptive name for the AFU sync command instead
of a magic number.

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>
2017-06-26 15:01:11 -04:00
..
common.h scsi: cxlflash: Create character device to provide host management interface 2017-06-26 15:01:10 -04:00
Kconfig scsi: cxlflash: Select IRQ_POLL 2017-05-08 22:09:21 -04:00
lunmgt.c scsi: cxlflash: Remove port configuration assumptions 2017-04-13 22:55:41 -04:00
main.c scsi: cxlflash: Separate AFU internal command handling from AFU sync specifics 2017-06-26 15:01:11 -04:00
main.h scsi: cxlflash: Create character device to provide host management interface 2017-06-26 15:01:10 -04:00
Makefile cxlflash: Virtual LUN support 2015-08-26 18:05:39 -07:00
sislite.h scsi: cxlflash: Separate AFU internal command handling from AFU sync specifics 2017-06-26 15:01:11 -04:00
superpipe.c scsi: cxlflash: Handle AFU sync failures 2017-06-26 15:01:08 -04:00
superpipe.h scsi: cxlflash: Fix warnings/errors 2017-04-13 22:55:41 -04:00
vlun.c scsi: cxlflash: Handle AFU sync failures 2017-06-26 15:01:08 -04:00
vlun.h scsi: cxlflash: Fix warnings/errors 2017-04-13 22:55:41 -04:00