Module Name: src Committed By: thorpej Date: Wed May 12 23:22:33 UTC 2021
Modified Files: src/sys/arch/arm/acpi: acpi_platform.c src/sys/arch/evbarm/conf: files.fdt src/sys/arch/macppc/conf: files.macppc src/sys/arch/ofppc/conf: files.ofppc src/sys/arch/sparc64/conf: files.sparc64 src/sys/arch/sparc64/sparc64: autoconf.c src/sys/arch/x86/acpi: acpi_machdep.c src/sys/dev/acpi: acpi.c acpi_pci.c acpivar.h src/sys/dev/ofw: files.ofw src/sys/dev/pci: pci.c pcivar.h Added Files: src/sys/dev/ofw: ofw_pci_subr.c Log Message: - Define a device call for PCI bus instances to fetch a direct child's device handle given the device's device/function #s (extracted from a pcitag_t). Use it to associate the handle with the child device at config_found() time. - Implement this device call for ACPI and OpenFirmware. - Enable the OpenFirmware variant for evbarm FDT, macppc, ofppc, sparc64. - Obsolete acpi_device_register(); it is no longer needed. - Obsolete setting the OpenFirmware handle in PCI devices in the sparc64 device_register(); it is no longer needed. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/acpi/acpi_platform.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/conf/files.fdt cvs rdiff -u -r1.117 -r1.118 src/sys/arch/macppc/conf/files.macppc cvs rdiff -u -r1.47 -r1.48 src/sys/arch/ofppc/conf/files.ofppc cvs rdiff -u -r1.165 -r1.166 src/sys/arch/sparc64/conf/files.sparc64 cvs rdiff -u -r1.230 -r1.231 src/sys/arch/sparc64/sparc64/autoconf.c cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x86/acpi/acpi_machdep.c cvs rdiff -u -r1.291 -r1.292 src/sys/dev/acpi/acpi.c cvs rdiff -u -r1.30 -r1.31 src/sys/dev/acpi/acpi_pci.c cvs rdiff -u -r1.85 -r1.86 src/sys/dev/acpi/acpivar.h cvs rdiff -u -r1.16 -r1.17 src/sys/dev/ofw/files.ofw cvs rdiff -u -r0 -r1.1 src/sys/dev/ofw/ofw_pci_subr.c cvs rdiff -u -r1.159 -r1.160 src/sys/dev/pci/pci.c cvs rdiff -u -r1.114 -r1.115 src/sys/dev/pci/pcivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.