summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Matthew <jmatthew@cvs.openbsd.org>2024-09-18 00:03:20 +0000
committerJonathan Matthew <jmatthew@cvs.openbsd.org>2024-09-18 00:03:20 +0000
commit24dcccbca7224b8390291cffd63dba8365c88c88 (patch)
treea10c412755d1d2786f0b50c35de7080734bf70f5
parent912b229da6484385f18078fc80b9511718778ba4 (diff)
Remove the MSI blacklist. Now that we use MSI-X interrupts for nvme(4),
the one device we ever found that needed this treatment, the obsolete Intel Optane Memory series, doesn't need it any more. ok kettenis@ dlg@
-rw-r--r--sys/dev/pci/nvme_pci.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/pci/nvme_pci.c b/sys/dev/pci/nvme_pci.c
index 5e0ba65cb6b..d827b5405da 100644
--- a/sys/dev/pci/nvme_pci.c
+++ b/sys/dev/pci/nvme_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvme_pci.c,v 1.11 2024/05/24 06:02:58 jsg Exp $ */
+/* $OpenBSD: nvme_pci.c,v 1.12 2024/09/18 00:03:19 jmatthew Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
@@ -73,10 +73,6 @@ nvme_pci_match(struct device *parent, void *match, void *aux)
return (0);
}
-static const struct pci_matchid nvme_msi_blacklist[] = {
- { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_OPTANE },
-};
-
void
nvme_pci_attach(struct device *parent, struct device *self, void *aux)
{
@@ -92,9 +88,6 @@ nvme_pci_attach(struct device *parent, struct device *self, void *aux)
printf(": ");
- if (pci_matchbyid(pa, nvme_msi_blacklist, nitems(nvme_msi_blacklist)))
- CLR(pa->pa_flags, PCI_FLAGS_MSI_ENABLED);
-
maptype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, NVME_PCI_BAR);
if (pci_mapreg_map(pa, NVME_PCI_BAR, maptype, 0,
&sc->sc_iot, &sc->sc_ioh, NULL, &sc->sc_ios, 0) != 0) {