summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2022-05-14 04:04:55 +0000
committerrin <rin@NetBSD.org>2022-05-14 04:04:55 +0000
commit0f969bb4f861ff5bf1759bca25fe344415d2d465 (patch)
tree6a5a2908d262aa78d1e5b2638175bed5e7a4c471 /sys/dev
parent238b6c622553a0f2b6906423de0bbc1acf064bbe (diff)
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 (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ahcisata_pci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/ahcisata_pci.c b/sys/dev/pci/ahcisata_pci.c
index 866df39cc66..7e74e3d43ad 100644
--- a/sys/dev/pci/ahcisata_pci.c
+++ b/sys/dev/pci/ahcisata_pci.c
@@ -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_pci_quirks[] = {
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.