From: Stephan Günther Date: Tue, 3 Nov 2015 23:49:45 +0000 (+0100) Subject: NVMe: add support for Apple NVMe controller X-Git-Tag: v4.1.12-92~126^2~222 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e63347fda01829bd5f879e33290d4de544e5dad3;p=users%2Fjedix%2Flinux-maple.git NVMe: add support for Apple NVMe controller Add PCI ID of Apple's NVMe controller. Signed-off-by: Stephan Guenther Signed-off-by: Maurice Leclaire Reviewed-by: Christoph Hellwig Signed-off-by: Jens Axboe (cherry picked from commit c74dc7801d515d01847fd5cf2b472489fa5717b1) Orabug: 22620486 Signed-off-by: Jason Luo --- diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 916ef52cdd41b..dacdd0fa2d82c 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -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);