]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Modernize mpc85xx PCI hostbridge driver.
authorJustin Hibbits <jhibbits@FreeBSD.org>
Sun, 22 Nov 2015 01:16:43 +0000 (01:16 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Sun, 22 Nov 2015 01:16:43 +0000 (01:16 +0000)
commitfe11dfea798af61d11584eaadf38e1ea5331ef0d
treea26950da8804545eea1e95003f9f56a31bf96512
parenta0962bf8bcf9bcbbb5bb232628bc4ee25d61f349
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