diff options
author | Christoph Hellwig <hch@lst.de> | 2015-12-24 15:27:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-01-12 13:30:16 -0700 |
commit | 4490733250b8b272a6d3e66352dd7b8025409549 (patch) | |
tree | 6bd4bc5df240bc645aeb5adad549660853837dd6 /drivers/nvme/host/Makefile | |
parent | bfd8947194b2e2a53db82bbc7eb7c15d028c46db (diff) | |
download | kernel_replicant_linux-4490733250b8b272a6d3e66352dd7b8025409549.tar.gz kernel_replicant_linux-4490733250b8b272a6d3e66352dd7b8025409549.tar.bz2 kernel_replicant_linux-4490733250b8b272a6d3e66352dd7b8025409549.zip |
nvme: make SG_IO support optional
Translation SCSI commands to NVMe commands is rather pointless in general
as applications must not expext to be able to use SCSI commands on a
generic block device.
Make the huge translation layer optional and hope no one will ever enable
it in the future.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/host/Makefile')
-rw-r--r-- | drivers/nvme/host/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvme/host/Makefile b/drivers/nvme/host/Makefile index 3e26dc921c38..baf9f52bbfa5 100644 --- a/drivers/nvme/host/Makefile +++ b/drivers/nvme/host/Makefile @@ -1,4 +1,5 @@ obj-$(CONFIG_BLK_DEV_NVME) += nvme.o -nvme-y += core.o pci.o scsi.o lightnvm.o +nvme-y += core.o pci.o lightnvm.o +nvme-$(CONFIG_BLK_DEV_NVME_SCSI) += scsi.o |