This cip advertises itself as a PCI IDE controller, but actually
implements an AHCI interface.  Adding it to the ahci_devices lists,
without any quirks makes ahci(4) work.  It doesn't actually work with
our pciide(4) driver!

ok?


Index: dev/pci/ahci_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ahci_pci.c,v
retrieving revision 1.13
diff -u -p -r1.13 ahci_pci.c
--- dev/pci/ahci_pci.c  27 May 2017 14:16:45 -0000      1.13
+++ dev/pci/ahci_pci.c  2 Jan 2018 22:07:30 -0000
@@ -109,6 +109,13 @@ static const struct ahci_device ahci_dev
        { PCI_VENDOR_ATI,       PCI_PRODUCT_ATI_SBX00_SATA_6,
            NULL,               ahci_ati_sb700_attach },
 
+       { PCI_VENDOR_ASMEDIA,   PCI_PRODUCT_ASMEDIA_ASM1061_SATA },
+
        { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_6SERIES_AHCI_1,
            NULL,               ahci_intel_attach },
        { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_6SERIES_AHCI_2,

Reply via email to