NVMe: add support for Apple NVMe controller
authorStephan Günther <guenther@tum.de>
Tue, 3 Nov 2015 23:49:45 +0000 (00:49 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 11 Nov 2015 16:36:57 +0000 (09:36 -0700)
Add PCI ID of Apple's NVMe controller.

Signed-off-by: Stephan Guenther <guenther@tum.de>
Signed-off-by: Maurice Leclaire <leclaire@in.tum.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c

index 3435d79a99ee5b415d67876be15028176fc325d9..8187df20469535023ae9966aecfb1542260b4270 100644 (file)
@@ -3403,6 +3403,7 @@ static const struct pci_error_handlers nvme_err_handler = {
 
 static const struct pci_device_id nvme_id_table[] = {
        { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
+       { PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
        { 0, }
 };
 MODULE_DEVICE_TABLE(pci, nvme_id_table);