]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pci: ecam: Correctly parse memory and IO region
authorEmmanuel Vadot <manu@FreeBSD.org>
Fri, 17 May 2019 17:05:16 +0000 (17:05 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Fri, 17 May 2019 17:05:16 +0000 (17:05 +0000)
commitec55b6c5f513c82e9c5f45aa2fd25f439f9c80d2
tree717654437f9fb2e04cd9251ef9b25ff43e3bf7e6
parentaa95512f35ecfd8878b0bdd00c8a80d7c60d2d28
pci: ecam: Correctly parse memory and IO region

When activating a resource do not compare the resource id to the adress.
Treat IO region as MEMORY region too.

Submitted by: Tuan Phan <tphan@amperecomputing.com> (Original Version)
Sponsored by: Ampere Computing, LLC
Differential Revision: https://reviews.freebsd.org/D20214
sys/dev/pci/pci_host_generic.c
sys/dev/pci/pci_host_generic_acpi.c