Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Apply extra-delay quirk to "Intel 9 Series SATA ...



details:   https://anonhg.NetBSD.org/src/rev/26c0337f2d08
branches:  trunk
changeset: 366083:26c0337f2d08
user:      rin <rin%NetBSD.org@localhost>
date:      Sat May 14 04:04:55 2022 +0000

description:
Apply extra-delay quirk to "Intel 9 Series SATA Controller (AHCI)";
without the quirk, the controller fails to probe some HDD models,
at least "Seagate ST2000DM008".

Info and patch provided by Tiago Seco, thanks!

diffstat:

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

diffs (27 lines):

diff -r 975021e21807 -r 26c0337f2d08 sys/dev/pci/ahcisata_pci.c
--- a/sys/dev/pci/ahcisata_pci.c        Sat May 14 01:16:55 2022 +0000
+++ b/sys/dev/pci/ahcisata_pci.c        Sat May 14 04:04:55 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ahcisata_pci.c,v 1.61 2021/11/19 23:46:55 rin Exp $    */
+/*     $NetBSD: ahcisata_pci.c,v 1.62 2022/05/14 04:04:55 rin Exp $    */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.61 2021/11/19 23:46:55 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.62 2022/05/14 04:04:55 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ahcisata_pci.h"
@@ -206,6 +206,8 @@
            AHCI_QUIRK_BADPMP },
        { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_C600_AHCI,
            AHCI_QUIRK_EXTRA_DELAY },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_9SERIES_SATA_AHCI,
+           AHCI_QUIRK_EXTRA_DELAY },
 #if 0
        /*
         * XXX Non-reproducible failures reported. May need extra-delay quirk.



Home | Main Index | Thread Index | Old Index