Module Name: src Committed By: jdolecek Date: Tue Jan 22 22:14:20 UTC 2019
Modified Files: src/sys/dev/pci: ahcisata_pci.c Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 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.52 src/sys/dev/pci/ahcisata_pci.c:1.53 --- src/sys/dev/pci/ahcisata_pci.c:1.52 Tue Jan 22 22:09:27 2019 +++ src/sys/dev/pci/ahcisata_pci.c Tue Jan 22 22:14:20 2019 @@ -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 @@ static const struct ahci_pci_quirk ahci_ 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 {