]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pci_host_generic: allocate resources against devices
authorJayachandran C. <jchandra@FreeBSD.org>
Mon, 19 Nov 2018 02:43:34 +0000 (02:43 +0000)
committerJayachandran C. <jchandra@FreeBSD.org>
Mon, 19 Nov 2018 02:43:34 +0000 (02:43 +0000)
commitad785aafe3ca3c96095da8b217fd8f4fe2f9798f
treedf946e3cc26c715fb4a7be928ae49b18116caf98
parentf3c5181ab9b9f7c88c6d49ed728c6873c3aeacbc
pci_host_generic: allocate resources against devices

Fix up pci_host_generic.c and pci_host_generic_fdt.c to allocate
resources against devices that requested them. Currently the
allocation happens against the pcib, which is incorrect.

This is needed for the upcoming changes for fixing up
pci_host_generic_acpi.c

Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D17656
sys/dev/pci/pci_host_generic.c
sys/dev/pci/pci_host_generic_fdt.c