Module Name: src
Committed By: jmcneill
Date: Tue Jan 26 00:29:22 UTC 2021
Modified Files:
src/sys/arch/arm/acpi: acpipchb.c
Log Message:
acpipchb is a bus, so claim all child ACPI device nodes
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/arm/acpi/acpipchb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/acpi/acpipchb.c
diff -u src/sys/arch/arm/acpi/acpipchb.c:1.22 src/sys/arch/arm/acpi/acpipchb.c:1.23
--- src/sys/arch/arm/acpi/acpipchb.c:1.22 Sun Dec 6 12:40:58 2020
+++ src/sys/arch/arm/acpi/acpipchb.c Tue Jan 26 00:29:22 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: acpipchb.c,v 1.22 2020/12/06 12:40:58 jmcneill Exp $ */
+/* $NetBSD: acpipchb.c,v 1.23 2021/01/26 00:29:22 jmcneill Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpipchb.c,v 1.22 2020/12/06 12:40:58 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpipchb.c,v 1.23 2021/01/26 00:29:22 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -150,6 +150,8 @@ acpipchb_attach(device_t parent, device_
aprint_naive("\n");
aprint_normal(": PCI Express Host Bridge\n");
+ acpi_claim_childdevs(self, aa->aa_node);
+
if (acpi_pci_ignore_boot_config(sc->sc_handle)) {
if (acpimcfg_configure_bus(self, aa->aa_pc, sc->sc_handle,
sc->sc_bus, PCIHOST_CACHELINE_SIZE) != 0) {