]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
NVMe: add support for Apple NVMe controller
authorStephan Günther <guenther@tum.de>
Tue, 3 Nov 2015 23:49:45 +0000 (00:49 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:32:05 +0000 (16:32 -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>
(cherry picked from commit c74dc7801d515d01847fd5cf2b472489fa5717b1)

Orabug: 22620486
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/nvme/host/pci.c

index 916ef52cdd41bc0ceca7f3e9e4de10fa4d42e545..dacdd0fa2d82c7bd40dd520b381108f4b974439f 100644 (file)
@@ -3284,6 +3284,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);