freebsd-skq/sys/powerpc
zbb e22231d219 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
2016-02-18 13:07:21 +00:00
..
aim Remove dead code and dead comments, most notably the implemenation of the 2016-01-10 18:00:01 +00:00
booke Fix a panic bug that cropped up in the PTE rewrite. 2016-02-16 02:13:55 +00:00
conf Enable PRINTF_BUFR_SIZE on powerpc64, following r194204 on x86. The kernel 2015-12-18 14:35:27 +00:00
cpufreq Some style(9) fixes 2013-12-13 05:54:25 +00:00
fpu Fix build of powerpc FPU emulator after changes in r295132 to restore the 2016-02-04 17:43:56 +00:00
include Fix a panic bug that cropped up in the PTE rewrite. 2016-02-16 02:13:55 +00:00
mambo CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
mikrotik Create a RouterBoard platform and use it to create a flash map 2015-08-22 05:50:18 +00:00
mpc85xx Extract common code from PowerPC's ofw_pci 2016-02-18 13:07:21 +00:00
ofw Allow callers of OF_decode_addr to get the size of the found mapping. This 2016-02-16 15:18:12 +00:00
powermac Extract common code from PowerPC's ofw_pci 2016-02-18 13:07:21 +00:00
powerpc Introduce bus_get_bus_tag() method 2016-02-18 13:00:04 +00:00
ps3 Another conversion u_long -> rman_res_t 2016-02-16 21:30:55 +00:00
pseries Extract common code from PowerPC's ofw_pci 2016-02-18 13:07:21 +00:00
psim Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00