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 for followings:



details:   https://anonhg.NetBSD.org/src/rev/89ef2c5b25c1
branches:  trunk
changeset: 366506:89ef2c5b25c1
user:      rin <rin%NetBSD.org@localhost>
date:      Sun May 29 11:18:33 2022 +0000

description:
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!

diffstat:

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

diffs (29 lines):

diff -r d22f591643de -r 89ef2c5b25c1 sys/dev/pci/ahcisata_pci.c
--- a/sys/dev/pci/ahcisata_pci.c        Sun May 29 10:58:09 2022 +0000
+++ b/sys/dev/pci/ahcisata_pci.c        Sun May 29 11:18:33 2022 +0000
@@ -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 @@
            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



Home | Main Index | Thread Index | Old Index