diff options
author | Ming Lin <ming.l@ssi.samsung.com> | 2016-02-10 19:03:32 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-02-10 22:22:38 +0100 |
commit | 576d55d625664a20ee4bae6500952febfb2d7b10 (patch) | |
tree | 33b6e4148579ff7581c3fc9fddeeb2eb0f0d9511 /drivers/nvme/host/Kconfig | |
parent | nvme: split dev_list_lock (diff) | |
download | linux-576d55d625664a20ee4bae6500952febfb2d7b10.tar.xz linux-576d55d625664a20ee4bae6500952febfb2d7b10.zip |
nvme: split pci module out of core module
NVMe over Fabrics drivers are going to reuse the core,
so splits nvme.ko into 2 modules:
nvme-core.ko: the core part
nvme.ko: the PCI driver
Export symbols from nvme-core.ko.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/host/Kconfig')
-rw-r--r-- | drivers/nvme/host/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig index 5d6237391dcd..2ed30f063a13 100644 --- a/drivers/nvme/host/Kconfig +++ b/drivers/nvme/host/Kconfig @@ -1,6 +1,10 @@ +config NVME_CORE + tristate + config BLK_DEV_NVME tristate "NVM Express block device" depends on PCI && BLOCK + select NVME_CORE ---help--- The NVM Express driver is for solid state drives directly connected to the PCI or PCI Express bus. If you know you @@ -11,7 +15,7 @@ config BLK_DEV_NVME config BLK_DEV_NVME_SCSI bool "SCSI emulation for NVMe device nodes" - depends on BLK_DEV_NVME + depends on NVME_CORE ---help--- This adds support for the SG_IO ioctl on the NVMe character and block devices nodes, as well a a translation for a small |