I have this now

~> dmesg | grep nvme
nvme0 at pci13 dev 0 function 0 "Apple NVMe" rev 0x01: msi, unknown 
version 0x00010001
nvme0: NVMe minimum page size 134217728 is greater than CPU page size 
4096

~> dmesg | grep sd   
sd0 at scsibus1 targ 1 lun 0: <Kingston, DataTraveler 2.0, 1.00> SCSI2 
0/direct removable serial.09306544CF80796E24F0
sd0: 14800MB, 512 bytes/sector, 30310400 sectors

On [09/11/16] [03:22P], Martin Pieuchot wrote:
; 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);
;  }
;  

-- 
Sending from my toaster.

Reply via email to