Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci add BADPMP quirk also for AMD Hudson AHCI SATA C...



details:   https://anonhg.NetBSD.org/src/rev/496661b2d4f3
branches:  trunk
changeset: 447747:496661b2d4f3
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Jan 22 22:14:20 2019 +0000

description:
add BADPMP quirk also for AMD Hudson AHCI SATA Controller, seems in some
configurations/BIOS versions the PMP reset works, in others not; it's better
to have the common configuration working

related to PR kern/53307

diffstat:

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

diffs (27 lines):

diff -r 802256992512 -r 496661b2d4f3 sys/dev/pci/ahcisata_pci.c
--- a/sys/dev/pci/ahcisata_pci.c        Tue Jan 22 22:09:27 2019 +0000
+++ b/sys/dev/pci/ahcisata_pci.c        Tue Jan 22 22:14:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ahcisata_pci.c,v 1.52 2019/01/22 22:09:27 jdolecek Exp $       */
+/*     $NetBSD: ahcisata_pci.c,v 1.53 2019/01/22 22:14:20 jdolecek Exp $       */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.52 2019/01/22 22:09:27 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.53 2019/01/22 22:14:20 jdolecek Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ahcisata_pci.h"
@@ -202,6 +202,8 @@
            AHCI_PCI_QUIRK_FORCE },
        { PCI_VENDOR_INTEL, 82801JI_SATA_AHCI,
            AHCI_QUIRK_BADPMP },
+       { PCI_VENDOR_AMD, HUDSON_SATA_AHCI,
+           AHCI_QUIRK_BADPMP },
 };
 
 struct ahci_pci_softc {



Home | Main Index | Thread Index | Old Index