Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci set AHCI_QUIRK_EXTRA_DELAY for ASMedia ASM1061 -...



details:   https://anonhg.NetBSD.org/src/rev/09561b25062e
branches:  trunk
changeset: 371807:09561b25062e
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Oct 12 12:50:02 2022 +0000

description:
set AHCI_QUIRK_EXTRA_DELAY for ASMedia ASM1061 - now it reliably attaches old
1.5GBit/s only disks

diffstat:

 sys/dev/pci/ahcisata_pci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 789a7646ed2a -r 09561b25062e sys/dev/pci/ahcisata_pci.c
--- a/sys/dev/pci/ahcisata_pci.c        Wed Oct 12 10:26:09 2022 +0000
+++ b/sys/dev/pci/ahcisata_pci.c        Wed Oct 12 12:50:02 2022 +0000
@@ -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 @@
        { 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,



Home | Main Index | Thread Index | Old Index