Module Name:    src
Committed By:   thorpej
Date:           Wed May 12 21:56:13 UTC 2021

Modified Files:
        src/sys/arch/arm/acpi: acpipchb.c

Log Message:
Pass along our devhandle to the PCI bus instance we attach.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 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.24 src/sys/arch/arm/acpi/acpipchb.c:1.25
--- src/sys/arch/arm/acpi/acpipchb.c:1.24	Sat Apr 24 23:36:25 2021
+++ src/sys/arch/arm/acpi/acpipchb.c	Wed May 12 21:56:13 2021
@@ -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_attach(device_t parent, device_
 	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 {

Reply via email to