Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/acpi acpipchb is a bus, so claim all child ACPI...



details:   https://anonhg.NetBSD.org/src/rev/bd47e2940c18
branches:  trunk
changeset: 958953:bd47e2940c18
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jan 26 00:29:22 2021 +0000

description:
acpipchb is a bus, so claim all child ACPI device nodes

diffstat:

 sys/arch/arm/acpi/acpipchb.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 6b30c3c1d981 -r bd47e2940c18 sys/arch/arm/acpi/acpipchb.c
--- a/sys/arch/arm/acpi/acpipchb.c      Tue Jan 26 00:23:16 2021 +0000
+++ b/sys/arch/arm/acpi/acpipchb.c      Tue Jan 26 00:29:22 2021 +0000
@@ -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 @@
        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) {



Home | Main Index | Thread Index | Old Index