mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
cd43c221bb
Depending on the underlying transport, cxlflash has a dependency on either the CXL or OCXL drivers, which are enabled via their Kconfig option. Instead of having a module wide dependency on these config options, it is better to isolate the object modules that are dependent on the CXL and OCXL drivers and adjust the module dependencies accordingly. This commit isolates the object files that are dependent on CXL and/or OCXL. The cxl/ocxl fops used in the core driver are tucked under an ifdef to avoid compilation errors. 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>
12 lines
251 B
Text
12 lines
251 B
Text
#
|
|
# IBM CXL-attached Flash Accelerator SCSI Driver
|
|
#
|
|
|
|
config CXLFLASH
|
|
tristate "Support for IBM CAPI Flash"
|
|
depends on PCI && SCSI && (CXL || OCXL) && EEH
|
|
select IRQ_POLL
|
|
default m
|
|
help
|
|
Allows CAPI Accelerated IO to Flash
|
|
If unsure, say N.
|