Module Name: src
Committed By: rin
Date: Sun May 29 11:18:33 UTC 2022
Modified Files:
src/sys/dev/pci: ahcisata_pci.c
Log Message:
Apply extra delay quirk for followings:
- Intel Braswell AHCI: rev. 0x35 fails for Seagate ST2000LX001.
- Intel 8 Series (desktop) SATA Controller (AHCI): rev. 0x04 fails for
Seagate ST1000LX015 and WD WD10JPVX, whereas it works without the
quirk for some SSD models...
Reported by Matthias Petermann. Thanks!
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 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.62 src/sys/dev/pci/ahcisata_pci.c:1.63
--- src/sys/dev/pci/ahcisata_pci.c:1.62 Sat May 14 04:04:55 2022
+++ src/sys/dev/pci/ahcisata_pci.c Sun May 29 11:18:33 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisata_pci.c,v 1.62 2022/05/14 04:04:55 rin Exp $ */
+/* $NetBSD: ahcisata_pci.c,v 1.63 2022/05/29 11:18:33 rin Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.62 2022/05/14 04:04:55 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.63 2022/05/29 11:18:33 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ahcisata_pci.h"
@@ -206,6 +206,10 @@ 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_BSW_AHCI,
+ AHCI_QUIRK_EXTRA_DELAY },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_8SER_DT_SATA_AHCI,
+ AHCI_QUIRK_EXTRA_DELAY },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_9SERIES_SATA_AHCI,
AHCI_QUIRK_EXTRA_DELAY },
#if 0