freebsd-skq/sys/dev/ofw
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
..
ofw_bus_if.m
ofw_bus_subr.c Teach ofw_bus_parse_xref_list_alloc to be able to return the length of the parsed list. 2016-02-09 03:35:40 +00:00
ofw_bus_subr.h Teach ofw_bus_parse_xref_list_alloc to be able to return the length of the parsed list. 2016-02-09 03:35:40 +00:00
ofw_bus.h
ofw_console.c Use callout(9) instead of timeout(9). 2014-09-02 18:57:19 +00:00
ofw_cpu.c Limit ofw_cpu_early_foreach() to CPUs only 2015-07-28 13:16:08 +00:00
ofw_cpu.h Adda function to iterate over the cpu nodes in the OFW or FDT data. This 2015-02-19 16:34:48 +00:00
ofw_disk.c
ofw_fdt.c Remove fdt_fixup_table from architectures where it's unneeded. We only make 2016-01-21 16:48:01 +00:00
ofw_if.m
ofw_iicbus.c OFW_IICBUS: Register ofw_iicbus node. 2015-12-13 08:23:45 +00:00
ofw_pci.h Revert r295756: 2016-02-20 12:28:20 +00:00
ofw_standard.c
ofw_subr.c Revert r295756: 2016-02-20 12:28:20 +00:00
ofw_subr.h Implement OF_decode_addr() for arm. Move most of powerpc's implementation 2015-12-21 18:07:32 +00:00
ofwbus.c Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it. 2016-02-20 01:32:58 +00:00
ofwvar.h
openfirm.c Do not destroy input buffer of the OF_getencprop() function on error 2016-01-25 14:42:44 +00:00
openfirm.h Allow callers of OF_decode_addr to get the size of the found mapping. This 2016-02-16 15:18:12 +00:00
openfirmio.c
openfirmio.h
openpromio.c
openpromio.h