]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a PCI bridge for the Freescale PCIe Root Complex
authorJustin Hibbits <jhibbits@FreeBSD.org>
Mon, 11 May 2015 20:58:05 +0000 (20:58 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Mon, 11 May 2015 20:58:05 +0000 (20:58 +0000)
commit809923ca0223de4c76830cc064655b8fac7bb0fd
treeb82fc676fe6a77e425797fcd7d488f713dc3b543
parent74de7730b7dacc1596d281eb66ed914582cb3f47
Add a PCI bridge for the Freescale PCIe Root Complex

Summary:
The Freescale PCIe Root Complex shows up as a Processor class device, PowerPC
subclass, so the generic PCI code ignores it for a bridge.  This adds support
for it.

As part of this, update the Freescale PCI hostbridge driver, to allow probing
beyond the root complex, instead of only allowing "proper" PCI-PCI bridges.

Reviewers: #powerpc, marcel, nwhitehorn

Reviewed By: nwhitehorn

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D2442

Relnotes: yes
sys/conf/files.powerpc
sys/dev/pci/pci_pci.c
sys/dev/pci/pcib_private.h
sys/powerpc/mpc85xx/pci_mpc85xx.c
sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c [new file with mode: 0644]