freebsd-skq/sys/powerpc/powermac
zbb e9cf712fda 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
..
ata_dbdma.c
ata_dbdma.h
ata_kauai.c
ata_macio.c
atibl.c Match the right backlight driver. 2015-02-18 07:34:32 +00:00
cpcht.c Revert r295756: 2016-02-20 12:28:20 +00:00
cuda.c
cudavar.h
dbdma.c
dbdmavar.h
fcu.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
grackle.c Revert r295756: 2016-02-20 12:28:20 +00:00
gracklevar.h
hrowpic.c
hrowpicvar.h
kiic.c Where appropriate, use the endian-flipping OF_getencprop() instead of 2015-11-17 16:07:43 +00:00
macgpio.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
macgpiovar.h
macio.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
maciovar.h
nvbl.c Match the right backlight driver. 2015-02-18 07:34:32 +00:00
platform_powermac.c Allow PowerMac systems to be booted from an FDT as well as Open Firmware. 2015-03-10 16:01:43 +00:00
pmu.c Add support for Power Button PMU events on non-ADB macs, such as aluminum 2014-11-20 03:23:33 +00:00
pmuvar.h Add support for Power Button PMU events on non-ADB macs, such as aluminum 2014-11-20 03:23:33 +00:00
powermac_thermal.c Make the PowerMac fan control nonlinear 2015-02-20 06:19:23 +00:00
powermac_thermal.h
pswitch.c
smu.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
smusat.c
uninorth.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
uninorthpci.c Revert r295756: 2016-02-20 12:28:20 +00:00
uninorthvar.h Revert r295756: 2016-02-20 12:28:20 +00:00
vcoregpio.c
viareg.h