nothing handles AHCI_QUIRK_BADPMPRESET quirk, remove and change all entries
using it (ATI SB600/SB700) to instead use AHCI_QUIRK_BADPMP
This commit is contained in:
parent
0acc5098e6
commit
acfe9f79b1
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ahcisatavar.h,v 1.21 2018/12/07 22:22:12 jdolecek Exp $ */
|
||||
/* $NetBSD: ahcisatavar.h,v 1.22 2019/01/14 21:29:56 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Manuel Bouyer.
|
||||
|
@ -58,7 +58,6 @@ struct ahci_softc {
|
|||
#define AHCI_PCI_QUIRK_FORCE __BIT(0) /* force attach */
|
||||
#define AHCI_PCI_QUIRK_BAD64 __BIT(1) /* broken 64-bit DMA */
|
||||
#define AHCI_QUIRK_BADPMP __BIT(2) /* broken PMP support, ignore */
|
||||
#define AHCI_QUIRK_BADPMPRESET __BIT(3) /* broken PMP support for reset */
|
||||
#define AHCI_QUIRK_SKIP_RESET __BIT(4) /* skip drive reset sequence */
|
||||
|
||||
uint32_t sc_ahci_cap; /* copy of AHCI_CAP */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ahcisata_pci.c,v 1.50 2018/12/08 15:31:30 jdolecek Exp $ */
|
||||
/* $NetBSD: ahcisata_pci.c,v 1.51 2019/01/14 21:29:56 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Manuel Bouyer.
|
||||
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.50 2018/12/08 15:31:30 jdolecek Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.51 2019/01/14 21:29:56 jdolecek Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_ahcisata_pci.h"
|
||||
|
@ -175,17 +175,17 @@ static const struct ahci_pci_quirk ahci_pci_quirks[] = {
|
|||
AHCI_PCI_QUIRK_FORCE },
|
||||
/* ATI SB600 AHCI 64-bit DMA only works on some boards/BIOSes */
|
||||
{ PCI_VENDOR_ATI, PCI_PRODUCT_ATI_SB600_SATA_1,
|
||||
AHCI_PCI_QUIRK_BAD64 | AHCI_QUIRK_BADPMPRESET },
|
||||
AHCI_PCI_QUIRK_BAD64 | AHCI_QUIRK_BADPMP },
|
||||
{ PCI_VENDOR_ATI, PCI_PRODUCT_ATI_SB700_SATA_AHCI,
|
||||
AHCI_QUIRK_BADPMPRESET },
|
||||
AHCI_QUIRK_BADPMP },
|
||||
{ PCI_VENDOR_ATI, PCI_PRODUCT_ATI_SB700_SATA_RAID,
|
||||
AHCI_QUIRK_BADPMPRESET },
|
||||
AHCI_QUIRK_BADPMP },
|
||||
{ PCI_VENDOR_ATI, PCI_PRODUCT_ATI_SB700_SATA_RAID5,
|
||||
AHCI_QUIRK_BADPMPRESET },
|
||||
AHCI_QUIRK_BADPMP },
|
||||
{ PCI_VENDOR_ATI, PCI_PRODUCT_ATI_SB700_SATA_AHCI2,
|
||||
AHCI_QUIRK_BADPMPRESET },
|
||||
AHCI_QUIRK_BADPMP },
|
||||
{ PCI_VENDOR_ATI, PCI_PRODUCT_ATI_SB700_SATA_STORAGE,
|
||||
AHCI_QUIRK_BADPMPRESET },
|
||||
AHCI_QUIRK_BADPMP },
|
||||
{ PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT8237R_SATA,
|
||||
AHCI_QUIRK_BADPMP },
|
||||
{ PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT8251_SATA,
|
||||
|
|
Loading…
Reference in New Issue