diff options
author | Matthew R. Ochs <mrochs@linux.vnet.ibm.com> | 2017-06-22 05:15:31 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-26 22:01:11 +0300 |
commit | cf2430279006e4afa67dfa4cf952ded38c7ed5b4 (patch) | |
tree | 4a2468882ddcdae5168652b74305052816b758db /Documentation/powerpc | |
parent | a834a36b57d93b31f683a5d2cf7d87e3e617cb70 (diff) | |
download | linux-cf2430279006e4afa67dfa4cf952ded38c7ed5b4.tar.xz |
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>
Diffstat (limited to 'Documentation/powerpc')
0 files changed, 0 insertions, 0 deletions