Add ASMedia ASM1061 SATA to the list of devices as it is an AHCI controller
authorkettenis <kettenis@openbsd.org>
Wed, 3 Jan 2018 20:10:40 +0000 (20:10 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 3 Jan 2018 20:10:40 +0000 (20:10 +0000)
but doesn't advertise itself as such.

ok dlg@, jmatthew@

sys/dev/pci/ahci_pci.c

index 36bf309..793610d 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ahci_pci.c,v 1.13 2017/05/27 14:16:45 jmatthew Exp $ */
+/*     $OpenBSD: ahci_pci.c,v 1.14 2018/01/03 20:10:40 kettenis Exp $ */
 
 /*
  * Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -109,6 +109,8 @@ static const struct ahci_device ahci_devices[] = {
        { 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,