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 Pass along our devhandle to the PCI bus in...
details:   https://anonhg.NetBSD.org/src/rev/d67546f33c1e
branches:  trunk
changeset: 1021153:d67546f33c1e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed May 12 21:56:13 2021 +0000
description:
Pass along our devhandle to the PCI bus instance we attach.
diffstat:
 sys/arch/arm/acpi/acpipchb.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 0e840b1c89cd -r d67546f33c1e sys/arch/arm/acpi/acpipchb.c
--- a/sys/arch/arm/acpi/acpipchb.c      Wed May 12 15:26:44 2021 +0000
+++ b/sys/arch/arm/acpi/acpipchb.c      Wed May 12 21:56:13 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpipchb.c,v 1.24 2021/04/24 23:36:25 thorpej Exp $ */
+/* $NetBSD: acpipchb.c,v 1.25 2021/05/12 21:56:13 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpipchb.c,v 1.24 2021/04/24 23:36:25 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpipchb.c,v 1.25 2021/05/12 21:56:13 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -174,7 +174,9 @@
        acpipchb_setup_ranges(sc, &pba);
        acpipchb_setup_quirks(sc, &pba);
 
-       config_found(self, &pba, pcibusprint, CFARG_EOL);
+       config_found(self, &pba, pcibusprint,
+           CFARG_DEVHANDLE, device_handle(self),
+           CFARG_EOL);
 }
 
 struct acpipchb_setup_ranges_args {
Home |
Main Index |
Thread Index |
Old Index