aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Tuffli <chuck@FreeBSD.org>2020-06-10 20:12:45 +0000
committerChuck Tuffli <chuck@FreeBSD.org>2020-06-10 20:12:45 +0000
commitf14f00511365d3ba794389a1a5382f02ed669c47 (patch)
tree75e8b29ad2a51fd70bba5b9c89f1327a5f6c4b9b
parentf9ab72bb471a141f31a4476bb11bdaef81daf479 (diff)
Notes
-rw-r--r--sys/dev/pci/pci_pci.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c
index 4b9aa08057e1..dc1008e9838b 100644
--- a/sys/dev/pci/pci_pci.c
+++ b/sys/dev/pci/pci_pci.c
@@ -1073,14 +1073,6 @@ pcib_hotplug_present(struct pcib_softc *sc)
if (!pcib_hotplug_inserted(sc))
return (0);
- /*
- * Require the Electromechanical Interlock to be engaged if
- * present.
- */
- if (sc->pcie_slot_cap & PCIEM_SLOT_CAP_EIP &&
- (sc->pcie_slot_sta & PCIEM_SLOT_STA_EIS) == 0)
- return (0);
-
/* Require the Data Link Layer to be active. */
if (!(sc->pcie_link_sta & PCIEM_LINK_STA_DL_ACTIVE))
return (0);
@@ -1338,7 +1330,7 @@ pcib_alloc_pcie_irq(struct pcib_softc *sc)
rid = 0;
sc->pcie_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
- RF_ACTIVE);
+ RF_ACTIVE | RF_SHAREABLE);
if (sc->pcie_irq == NULL) {
device_printf(dev,
"Failed to allocate interrupt for PCI-e events\n");