diff options
author | Matthew R. Ochs <mrochs@linux.vnet.ibm.com> | 2017-04-12 21:14:05 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-14 04:55:41 +0200 |
commit | 8fa4f1770d56af6f0a5a862f1fd298a4eeea94f3 (patch) | |
tree | d3d4bff0c8c1f1836861000f0a4ccc4a1025cd3e /block/mq-deadline.c | |
parent | scsi: cxlflash: Support dynamic number of FC ports (diff) | |
download | linux-8fa4f1770d56af6f0a5a862f1fd298a4eeea94f3.tar.xz linux-8fa4f1770d56af6f0a5a862f1fd298a4eeea94f3.zip |
scsi: cxlflash: Remove port configuration assumptions
At present, the cxlflash driver only supports hardware with two FC ports. The
code was initially designed with this assumption and is dependent on having
two FC ports - adding more ports will break logic within the driver.
To mitigate this issue, remove the existing port assumptions and transition
the code to support more than two ports. As a side effect, clarify the
interpretation of the DK_CXLFLASH_ALL_PORTS_ACTIVE flag.
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 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions