Page MenuHomeFreeBSD

D60033.diff
No OneTemporary

D60033.diff

Index: sys/dev/pci/pci_pci.c
===================================================================
--- sys/dev/pci/pci_pci.c
+++ sys/dev/pci/pci_pci.c
@@ -2346,7 +2346,8 @@
sc = device_get_softc(pcib);
ari_func = *func;
- if (sc->flags & PCIB_ENABLE_ARI) {
+ /* ARI applies only to this port's secondary bus. */
+ if ((sc->flags & PCIB_ENABLE_ARI) && bus == sc->bus.sec) {
KASSERT(*slot == 0,
("Non-zero slot number with ARI enabled!"));
*slot = PCIE_ARI_SLOT(ari_func);

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 27, 4:51 AM (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39717783
Default Alt Text
D60033.diff (488 B)

Event Timeline