Module Name: src
Committed By: rin
Date: Sat May 14 04:04:55 UTC 2022
Modified Files:
src/sys/dev/pci: ahcisata_pci.c
Log Message:
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!
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 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.61 src/sys/dev/pci/ahcisata_pci.c:1.62
--- src/sys/dev/pci/ahcisata_pci.c:1.61 Fri Nov 19 23:46:55 2021
+++ src/sys/dev/pci/ahcisata_pci.c Sat May 14 04:04:55 2022
@@ -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 @@ static const struct ahci_pci_quirk ahci_
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.