]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pci: ecam: Correctly parse memory and IO region
authormanu <manu@FreeBSD.org>
Fri, 17 May 2019 17:05:16 +0000 (17:05 +0000)
committermanu <manu@FreeBSD.org>
Fri, 17 May 2019 17:05:16 +0000 (17:05 +0000)
commite8fb590b2b5ee31620b2031e9587dabea9758ef1
tree717654437f9fb2e04cd9251ef9b25ff43e3bf7e6
parent77cb8c789c91e61ceb7c522736a52f5bd8ab7959
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