summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ppb.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-06-05 22:14:23 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-06-05 22:14:23 +0000
commit0ddf9163b23aae100b10a712d7b0ec76fb799601 (patch)
treefdb8009940c72032f9797ac330b66904dd9a5877 /sys/dev/pci/ppb.c
parent5ecb0b2b05c6f7768e3577d36cba4c67291b3ed1 (diff)
Revert previous commit; it makes us run out of interrupt slots too fast on
amd64, and fixing things is going to take some time. ok deraadt@
Diffstat (limited to 'sys/dev/pci/ppb.c')
-rw-r--r--sys/dev/pci/ppb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/ppb.c b/sys/dev/pci/ppb.c
index 805966a98b9..286dac1533f 100644
--- a/sys/dev/pci/ppb.c
+++ b/sys/dev/pci/ppb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppb.c,v 1.50 2011/05/30 22:16:29 kettenis Exp $ */
+/* $OpenBSD: ppb.c,v 1.51 2011/06/05 22:14:22 kettenis Exp $ */
/* $NetBSD: ppb.c,v 1.16 1997/06/06 23:48:05 thorpej Exp $ */
/*
@@ -169,8 +169,7 @@ ppbattach(struct device *parent, struct device *self, void *aux)
/* Check for PCI Express capabilities and setup hotplug support. */
if (pci_get_capability(pc, pa->pa_tag, PCI_CAP_PCIEXPRESS,
&sc->sc_cap_off, &reg) && (reg & PCI_PCIE_XCAP_SI)) {
- if (pci_intr_map_msi(pa, &ih) == 0 ||
- pci_intr_map(pa, &ih) == 0)
+ if (pci_intr_map(pa, &ih) == 0)
sc->sc_intrhand = pci_intr_establish(pc, ih, IPL_BIO,
ppb_intr, sc, self->dv_xname);