freebsd-skq/sys/powerpc/pseries
Zbigniew Bodek 36e9c2cef0 Revert r295756:
Extract common code from PowerPC's ofw_pci

Import portions of the PowerPC OF PCI implementation into
new file "ofw_pci.c", common for other platforms. The files ofw_pci.c and
ofw_pci.h from sys/powerpc/ofw no longer exist. All required declarations
are moved to sys/dev/ofw/ofw_pci.h.

This creates a new ofw_pci_write_ivar() function and modifies
ofw_pci_nranges(), ofw_pci_read_ivar(), ofw_pci_route_interrupt()
methods.
Most functions contain existing ppc implementations in the majority
unchanged. Now there is no need to have multiple identical copies
of methods for various architectures.

Submitted by:  Marcin Mazurek <mma@semihalf.com>
Obtained from: Semihalf
Sponsored by:  Annapurna Labs
Reviewed by:   jhibbits, mmel
Differential Revision: https://reviews.freebsd.org/D4879

This needs to return to the drawing board as it breaks both
PowerPC and Sparc64 build.

Pointed out by: jhibbits
2016-02-20 12:28:20 +00:00
..
mmu_phyp.c Where appropriate, use the endian-flipping OF_getencprop() instead of 2015-11-17 16:07:43 +00:00
phyp_console.c Where appropriate, use the endian-flipping OF_getencprop() instead of 2015-11-17 16:07:43 +00:00
phyp_llan.c Provide link state reporting so that ifconfig_llan0="DHCP" works. The 2015-12-19 02:16:38 +00:00
phyp_vscsi.c Where appropriate, use the endian-flipping OF_getencprop() instead of 2015-11-17 16:07:43 +00:00
phyp-hvcall.h
phyp-hvcall.S Allow hypervisor calls with more than 7 arguments. 2013-10-20 01:28:39 +00:00
platform_chrp.c Where appropriate, use the endian-flipping OF_getencprop() instead of 2015-11-17 16:07:43 +00:00
plpar_iommu.c Where appropriate, use the endian-flipping OF_getencprop() instead of 2015-11-17 16:07:43 +00:00
plpar_iommu.h
plpar_pcibus.c Following the approach with ACPI DMAR on x86, split IOMMU handling into 2013-11-12 16:15:09 +00:00
rtas_dev.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
rtas_pci.c Revert r295756: 2016-02-20 12:28:20 +00:00
vdevice.c Provide the number of interrupt resources added to the list 2015-05-15 13:55:18 +00:00
xics.c Add error reporting to interrupt CPU binding. 2015-02-10 00:57:26 +00:00