Module Name: src
Committed By: rin
Date: Sun May 29 22:26:21 UTC 2022
Modified Files:
src/sys/dev/pci: ahcisata_pci.c
Log Message:
Apply extra delay quirk for
- Intel 7 Series (mobile) SATA Controller (AHCI):
rev. 0x04 sometimes fails to probe Seagate ST500LT012.
Reported by RVP. Thanks!
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 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.63 src/sys/dev/pci/ahcisata_pci.c:1.64
--- src/sys/dev/pci/ahcisata_pci.c:1.63 Sun May 29 11:18:33 2022
+++ src/sys/dev/pci/ahcisata_pci.c Sun May 29 22:26:21 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisata_pci.c,v 1.63 2022/05/29 11:18:33 rin Exp $ */
+/* $NetBSD: ahcisata_pci.c,v 1.64 2022/05/29 22:26:21 rin Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.63 2022/05/29 11:18:33 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.64 2022/05/29 22:26:21 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ahcisata_pci.h"
@@ -204,8 +204,12 @@ static const struct ahci_pci_quirk ahci_
AHCI_QUIRK_BADPMP },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801JI_SATA_AHCI,
AHCI_QUIRK_BADPMP },
+
+ /* extra delay */
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_C600_AHCI,
AHCI_QUIRK_EXTRA_DELAY },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_7SER_MO_SATA_AHCI,
+ AHCI_QUIRK_EXTRA_DELAY },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_BSW_AHCI,
AHCI_QUIRK_EXTRA_DELAY },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_8SER_DT_SATA_AHCI,