freebsd-skq/sys/dev/pci
Justin Hibbits 937a05ba81 Add necessary bits for Linux KPI to work correctly on powerpc
PowerPC, and possibly other architectures, use different address ranges for
PCI space vs physical address space, which is only mapped at resource
activation time, when the BAR gets written.  The DRM kernel modules do not
activate the rman resources, soas not to waste KVA, instead only mapping
parts of the PCI memory at a time.  This introduces a
BUS_TRANSLATE_RESOURCE() method, implemented in the Open Firmware/FDT PCI
driver, to perform this necessary translation without activating the
resource.

In addition to system KPI changes, LinuxKPI is updated to handle a
big-endian host, by adding proper endian swaps to the I/O functions.

Submitted by:	mmacy
Reported by:	hselasky
Differential Revision:	https://reviews.freebsd.org/D21096
2019-08-04 19:28:10 +00:00
..
fixup_pci.c
hostb_pci.c Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
ignore_pci.c
isa_pci.c
pci_host_generic_acpi.c pci: ecam: Correctly parse memory and IO region 2019-05-17 17:05:16 +00:00
pci_host_generic_fdt.c Pass pci_base address instead of physical address to rman_manage_region(). 2019-05-29 15:53:33 +00:00
pci_host_generic_fdt.h
pci_host_generic.c pci: ecam: Correctly parse memory and IO region 2019-05-17 17:05:16 +00:00
pci_host_generic.h pci_host_generic*: basic implementation of bus range 2018-11-19 02:55:18 +00:00
pci_if.m Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
pci_iov_if.m
pci_iov_private.h
pci_iov_schema.c
pci_iov.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
pci_iov.h
pci_pci.c Only respond to the PCIe Attention Button if a device is already plugged in. 2019-06-05 04:58:42 +00:00
pci_private.h Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
pci_subr.c
pci_user.c Need to apply the PCIM_BAR_MEM_BASE mask to the physical memory 2019-06-28 22:28:51 +00:00
pci.c Work around devices which return all zeros for reads of existing MSI-X 2019-07-08 19:38:49 +00:00
pcib_if.m
pcib_private.h
pcib_support.c
pcireg.h Add PCIV_INVALID definition 2018-09-26 13:16:55 +00:00
pcivar.h Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
schema_private.h
vga_pci.c Add necessary bits for Linux KPI to work correctly on powerpc 2019-08-04 19:28:10 +00:00