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



details:   https://anonhg.NetBSD.org/src/rev/cbc9e75605ec
branches:  trunk
changeset: 366533:cbc9e75605ec
user:      rin <rin%NetBSD.org@localhost>
date:      Sun May 29 22:26:21 2022 +0000

description:
Apply extra delay quirk for

- Intel 7 Series (mobile) SATA Controller (AHCI):
  rev. 0x04 sometimes fails to probe Seagate ST500LT012.

Reported by RVP. Thanks!

diffstat:

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

diffs (31 lines):

diff -r 87f698afcd53 -r cbc9e75605ec sys/dev/pci/ahcisata_pci.c
--- a/sys/dev/pci/ahcisata_pci.c        Sun May 29 22:03:29 2022 +0000
+++ b/sys/dev/pci/ahcisata_pci.c        Sun May 29 22:26:21 2022 +0000
@@ -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 @@
            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,



Home | Main Index | Thread Index | Old Index