Skip to content
Permalink
Browse files
HACK/DO-NOT-MERGE: nvme-apple: add initial Apple SoC NVMe driver
Signed-off-by: Sven Peter <sven@svenpeter.dev>
  • Loading branch information
svenpeter42 committed Dec 9, 2021
1 parent fd7c0ce commit d25eee8aced31cf92944992bec41022e6f837daf
Show file tree
Hide file tree
Showing 3 changed files with 1,496 additions and 0 deletions.
@@ -83,3 +83,16 @@ config NVME_TCP
from https://github.com/linux-nvme/nvme-cli.

If unsure, say N.

config NVME_APPLE
tristate "Apple ANS2 NVM Express host driver"
depends on ARCH_APPLE || COMPILE_TEST
select APPLE_RTKIT
select APPLE_SART
select NVME_CORE
help
This provides support for the NVMe controller embedded in Apple SoCs
such as the M1.

To compile this driver as a module, choose M here: the
module will be called nvme-apple.
@@ -8,6 +8,7 @@ obj-$(CONFIG_NVME_FABRICS) += nvme-fabrics.o
obj-$(CONFIG_NVME_RDMA) += nvme-rdma.o
obj-$(CONFIG_NVME_FC) += nvme-fc.o
obj-$(CONFIG_NVME_TCP) += nvme-tcp.o
obj-$(CONFIG_NVME_APPLE) += nvme-apple.o

nvme-core-y := core.o ioctl.o
nvme-core-$(CONFIG_TRACING) += trace.o
@@ -25,3 +26,5 @@ nvme-rdma-y += rdma.o
nvme-fc-y += fc.o

nvme-tcp-y += tcp.o

nvme-apple-y += apple.o

0 comments on commit d25eee8

Please sign in to comment.