mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
36e9c2cef0
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 |
||
---|---|---|
.. | ||
atpic.c | ||
ds1553_bus_fdt.c | ||
ds1553_core.c | ||
ds1553_reg.h | ||
fsl_sdhc.c | ||
fsl_sdhc.h | ||
i2c.c | ||
isa.c | ||
lbc.c | ||
lbc.h | ||
mpc85xx_gpio.c | ||
mpc85xx.c | ||
mpc85xx.h | ||
pci_mpc85xx_pcib.c | ||
pci_mpc85xx.c | ||
platform_mpc85xx.c | ||
qoriq_gpio.c |