Page MenuHomeFreeBSD

D49949.diff
No OneTemporary

D49949.diff

diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c
--- a/sys/dev/pci/pci_pci.c
+++ b/sys/dev/pci/pci_pci.c
@@ -930,7 +930,8 @@
return (false);
/* A power fault implicitly turns off power to the slot. */
- if (sc->pcie_slot_sta & PCIEM_SLOT_STA_PFD)
+ if (sc->pcie_slot_cap & PCIEM_SLOT_CAP_PCP &&
+ sc->pcie_slot_sta & PCIEM_SLOT_STA_PFD)
return (false);
/* If the MRL is disengaged, the slot is powered off. */

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 24, 2:06 PM (14 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17715041
Default Alt Text
D49949.diff (439 B)

Event Timeline