Modernize mpc85xx PCI hostbridge driver.
authorjhibbits <jhibbits@FreeBSD.org>
Sun, 22 Nov 2015 01:16:43 +0000 (01:16 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Sun, 22 Nov 2015 01:16:43 +0000 (01:16 +0000)
commit1f1d8cd1f54354750bcaf95adbd287e250187aa5
treea26950da8804545eea1e95003f9f56a31bf96512
parent8f26d7b3828f29281ae0331abee7a806ca0c22f2
Modernize mpc85xx PCI hostbridge driver.

Summary:
* Take advantage of NEW_PCIB to remove a lot of setup code.
* Fix some bugs related to multiple PCI bridges.

There's still room for more cleanup, and still some bugs leftover, but this
cleans up a lot.

Test Plan: Tested on P5020 board with IDT PCIe switch.

Differential Revision: https://reviews.freebsd.org/D4127
sys/powerpc/mpc85xx/pci_mpc85xx.c
sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c