freebsd-dev/sys/powerpc/mpc85xx
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
..
atpic.c
ds1553_bus_fdt.c
ds1553_core.c
ds1553_reg.h
fsl_sdhc.c Move the DRIVER_MODULE() statements that declare mmc(4) to be a child of 2015-12-14 01:09:25 +00:00
fsl_sdhc.h
i2c.c Use IIC_EBUSBSY and IIC_BUSERR status values consistantly across all drivers. 2015-10-09 22:49:50 +00:00
isa.c Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it. 2016-02-20 01:32:58 +00:00
lbc.c Make lbc(4) the same driver pass as simplebus. 2016-02-03 01:29:06 +00:00
lbc.h
mpc85xx_gpio.c
mpc85xx.c Add platform support for QorIQ SoCs. 2015-12-30 03:43:25 +00:00
mpc85xx.h Extend idle support for newer Book-E cores. 2016-01-01 02:47:40 +00:00
pci_mpc85xx_pcib.c Modernize mpc85xx PCI hostbridge driver. 2015-11-22 01:16:43 +00:00
pci_mpc85xx.c Revert r295756: 2016-02-20 12:28:20 +00:00
platform_mpc85xx.c Extend idle support for newer Book-E cores. 2016-01-01 02:47:40 +00:00
qoriq_gpio.c Add Freescale QorIQ GPIO driver. 2015-11-30 02:23:56 +00:00