HomeFreeBSD

mpc85xx/pci: Conditionally reset PCI bridges

Description

mpc85xx/pci: Conditionally reset PCI bridges

Sometimes we need to reset a PCIe bus, but sometimes it breaks the
downstream device(s). Since, from my testing, this is only needed for
Radeon cards installed in the AmigaOne machines because the card was
already initialized by firmware, make the reset dependent on a device
hint (hint.pcib.X.reset=1). With this, AmigaOne X5000 machines can have
other devices in the secondary PCIe slots.

Details

Provenance
jhibbitsAuthored on Jul 30 2022, 1:43 AM
Parents
rG150486f6a940: Introduce and use the NET_EPOCH_DRAIN_CALLBACKS() macro
Branches
Unknown
Tags
Unknown