opnsense-src/sys/dev/ofw
Marcin Wojtas 28c4e511c2 Add ofw interface support to PCI
Some arm64 SoCs have nodes in their fdts that describe devices
connected to the internal PCI bus. One such SoC is Freescale LS1028A.
In order to access information stored in them we need to add ofw bus
support to pci. Pass devinfo request up to our parent, which
is responsible for parsing all the information.
It allows to use ofw interface on PCI devices that support it.
This method is similar to sys/dev/acpica/acpi_pci.c.

Submitted by: Kornel Duleba <mindal@semihalf.com>
Reviewed by: andrew
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential Revision: https://reviews.freebsd.org/D30181
2021-06-08 17:52:02 +02:00
..
ofw_bus.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ofw_bus_if.m
ofw_bus_subr.c ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
ofw_bus_subr.h Add an OFWBUS_PNP_INFO() macro for devices that hang directly off the root 2019-11-30 19:16:44 +00:00
ofw_console.c tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ofw_cpu.c ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
ofw_cpu.h
ofw_disk.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ofw_fdt.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (11 of many) 2020-02-24 10:41:22 +00:00
ofw_graph.c ofw: support for a single 'port' DTS property. 2021-05-08 15:41:57 +01:00
ofw_graph.h ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
ofw_if.m
ofw_pci.c Add ofw interface support to PCI 2021-06-08 17:52:02 +02:00
ofw_pci.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ofw_pcib.c Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
ofw_standard.c ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
ofw_subr.c ofw: ofw_reg_to_paddr: Use a 256 static array for the cell 2019-08-07 13:13:16 +00:00
ofw_subr.h
ofwbus.c
ofwpci.h Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
ofwvar.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
openfirm.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
openfirm.h Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00
openfirmio.c Suppress D_NEEDGIANT warnings for some drivers 2021-06-06 16:44:46 -04:00
openfirmio.h [PowerPC] Allow traversal of oversize OF properties. 2020-11-13 16:49:41 +00:00