On 09/11/16(Wed) 10:52, Gonzalo L. Rodriguez wrote:
> With new snap an attached diff, still not working:

Seems that "Apple is different" applies here as well.  Could you try
the diff below?

Index: dev/pci/pcidevs
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1805
diff -u -p -r1.1805 pcidevs
--- dev/pci/pcidevs     14 Sep 2016 00:57:17 -0000      1.1805
+++ dev/pci/pcidevs     9 Nov 2016 14:18:26 -0000
@@ -923,6 +923,7 @@ product APPLE INTREPID2_ATA 0x0069  Intre
 product APPLE INTREPID2_FW     0x006a  Intrepid 2 FireWire
 product APPLE INTREPID2_GMAC   0x006b  Intrepid 2 GMAC
 product APPLE BCM5701          0x1645  BCM5701
+product APPLE NVME             0x2001  NVMe
 
 /* Aralion products */
 product ARALION ARS106S                0x0301  ARS106S
Index: dev/pci/nvme_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/nvme_pci.c,v
retrieving revision 1.4
diff -u -p -r1.4 nvme_pci.c
--- dev/pci/nvme_pci.c  25 Oct 2016 06:20:41 -0000      1.4
+++ dev/pci/nvme_pci.c  9 Nov 2016 14:20:20 -0000
@@ -70,6 +70,10 @@ nvme_pci_match(struct device *parent, vo
            PCI_INTERFACE(pa->pa_class) == NVME_PCI_INTERFACE)
                return (1);
 
+       if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_APPLE &&
+           PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME)
+               return (1);
+
        return (0);
 }
 

Reply via email to