]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clean up the pci host generic driver
authorAndrew Turner <andrew@FreeBSD.org>
Wed, 17 Jun 2020 19:56:17 +0000 (19:56 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Wed, 17 Jun 2020 19:56:17 +0000 (19:56 +0000)
commit9a7053ce96646bd46431aee168ef126aa5d5c3eb
tree776936896f04dd0c88a6d3daa78b054bfe54bcb2
parent3a6413d81e66f32d3ca4a800aa4cc5ec145a1ca4
Clean up the pci host generic driver

 - Support Prefetchable Memory.
 - Use the correct rman when allocating memory and ioports.
 - Translate PCI addresses in bus_alloc_resource to allow physical
   addresses that are different than pci addresses.

Reviewed by: Robert Crowston <crowston_protonmail.com>
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D25121
sys/dev/pci/pci_host_generic.c
sys/dev/pci/pci_host_generic.h
sys/dev/pci/pci_host_generic_acpi.c
sys/dev/pci/pci_host_generic_fdt.c