Module Name: src Committed By: thorpej Date: Tue May 11 06:03:54 UTC 2021
Modified Files: src/sys/dev/pci: ppb.c Log Message: Forward the bridge's devhandle to the downstream bus. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/dev/pci/ppb.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/dev/pci/ppb.c diff -u src/sys/dev/pci/ppb.c:1.71 src/sys/dev/pci/ppb.c:1.72 --- src/sys/dev/pci/ppb.c:1.71 Sat Apr 24 23:36:57 2021 +++ src/sys/dev/pci/ppb.c Tue May 11 06:03:54 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ppb.c,v 1.71 2021/04/24 23:36:57 thorpej Exp $ */ +/* $NetBSD: ppb.c,v 1.72 2021/05/11 06:03:54 thorpej Exp $ */ /* * Copyright (c) 1996, 1998 Christopher G. Demetriou. All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ppb.c,v 1.71 2021/04/24 23:36:57 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ppb.c,v 1.72 2021/05/11 06:03:54 thorpej Exp $"); #ifdef _KERNEL_OPT #include "opt_ppb.h" @@ -436,7 +436,13 @@ configure: pba.pba_intrswiz = pa->pa_intrswiz; pba.pba_intrtag = pa->pa_intrtag; - config_found(self, &pba, pcibusprint, CFARG_EOL); + config_found(self, &pba, pcibusprint, + /* + * Forward along the device handle for the bridge to the + * downstream bus. + */ + CFARG_DEVHANDLE, device_handle(self), + CFARG_EOL); } static int