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
..
2016-02-17 21:24:26 +00:00
2016-02-18 01:24:10 +00:00
2015-01-23 15:14:30 +00:00
2016-02-18 01:24:10 +00:00
2016-02-18 01:24:10 +00:00
2015-02-24 01:00:46 +00:00
2015-03-08 19:55:46 +00:00
2015-01-23 15:14:30 +00:00
2015-06-30 17:00:45 +00:00
2015-06-30 17:00:45 +00:00
2015-08-30 08:48:31 +00:00
2016-01-07 21:16:44 +00:00
2016-02-19 01:57:51 +00:00
2016-02-18 01:24:10 +00:00
2015-04-29 20:08:03 +00:00
2014-10-10 14:17:42 +00:00
2014-10-11 19:36:59 +00:00
2016-02-18 01:24:10 +00:00
2016-01-28 23:15:14 +00:00
2016-02-20 12:28:20 +00:00
2015-08-28 02:29:31 +00:00
2015-07-28 04:54:05 +00:00
2014-11-18 21:58:57 +00:00
2016-02-19 18:05:02 +00:00
2016-01-26 22:32:58 +00:00
2016-02-17 21:09:19 +00:00
2015-09-07 21:59:11 +00:00
2016-02-18 03:05:08 +00:00
2015-06-30 17:00:45 +00:00
2015-06-30 17:00:45 +00:00
2016-01-01 17:56:52 +00:00
2014-09-19 03:55:19 +00:00
2016-02-18 01:24:10 +00:00
2015-10-08 17:32:17 +00:00
2014-11-21 21:34:19 +00:00
2015-06-30 17:00:45 +00:00
2016-02-18 01:24:10 +00:00