]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mpc85xx/pci: Conditionally reset PCI bridges
authorJustin Hibbits <jhibbits@FreeBSD.org>
Sat, 30 Jul 2022 01:43:42 +0000 (21:43 -0400)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Sat, 30 Jul 2022 01:54:20 +0000 (21:54 -0400)
commit43eebd036447f5399dd4bfa9b9d3e4e6f6596f48
treec6e85095735d38af5b5140f2fd9a61718ac052a9
parent150486f6a940947fa7a7c6db357c3f92d07a955f
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.
sys/powerpc/mpc85xx/pci_mpc85xx.c