diff options
author | zbb <zbb@FreeBSD.org> | 2016-02-20 12:28:20 +0000 |
---|---|---|
committer | zbb <zbb@FreeBSD.org> | 2016-02-20 12:28:20 +0000 |
commit | e9cf712fdabf0a3b6b3e8e1e7f239a4e1c4e2d1f (patch) | |
tree | b685f4faf94a7b21d8c2fb3b751b8923b30b1a9b /sys/conf/files | |
parent | 33ef68fedb3270f37fc4d216f733431e0e22f138 (diff) | |
download | FreeBSD-src-e9cf712fdabf0a3b6b3e8e1e7f239a4e1c4e2d1f.zip FreeBSD-src-e9cf712fdabf0a3b6b3e8e1e7f239a4e1c4e2d1f.tar.gz |
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
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files index 6ecc83c..bbf9713 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -2108,7 +2108,6 @@ dev/ofw/ofw_subr.c optional fdt dev/ofw/ofwbus.c optional fdt dev/ofw/openfirm.c optional fdt dev/ofw/openfirmio.c optional fdt -dev/ofw/ofw_pci.c optional fdt pci dev/ow/ow.c optional ow \ dependency "owll_if.h" \ dependency "own_if.h" |