Module Name: src
Committed By: macallan
Date: Wed Oct 12 12:50:02 UTC 2022
Modified Files:
src/sys/dev/pci: ahcisata_pci.c
Log Message:
set AHCI_QUIRK_EXTRA_DELAY for ASMedia ASM1061 - now it reliably attaches old
1.5GBit/s only disks
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/pci/ahcisata_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/ahcisata_pci.c
diff -u src/sys/dev/pci/ahcisata_pci.c:1.67 src/sys/dev/pci/ahcisata_pci.c:1.68
--- src/sys/dev/pci/ahcisata_pci.c:1.67 Sun Oct 2 10:40:29 2022
+++ src/sys/dev/pci/ahcisata_pci.c Wed Oct 12 12:50:02 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisata_pci.c,v 1.67 2022/10/02 10:40:29 martin Exp $ */
+/* $NetBSD: ahcisata_pci.c,v 1.68 2022/10/12 12:50:02 macallan Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.67 2022/10/02 10:40:29 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.68 2022/10/12 12:50:02 macallan Exp $");
#ifdef _KERNEL_OPT
#include "opt_ahcisata_pci.h"
@@ -197,7 +197,7 @@ static const struct ahci_pci_quirk ahci_
{ PCI_VENDOR_ASMEDIA, PCI_PRODUCT_ASMEDIA_ASM1061_11,
AHCI_PCI_QUIRK_FORCE },
{ PCI_VENDOR_ASMEDIA, PCI_PRODUCT_ASMEDIA_ASM1061_12,
- AHCI_PCI_QUIRK_FORCE },
+ AHCI_PCI_QUIRK_FORCE | AHCI_QUIRK_EXTRA_DELAY },
{ PCI_VENDOR_AMD, PCI_PRODUCT_AMD_HUDSON_SATA,
AHCI_PCI_QUIRK_FORCE },
{ PCI_VENDOR_AMD, PCI_PRODUCT_AMD_HUDSON_SATA_AHCI,