diff options
| author | thorpej <thorpej@NetBSD.org> | 2021-05-10 23:53:44 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2021-05-10 23:53:44 +0000 |
| commit | f7becf83e83c37022d5bfc22317ef9689c8291f2 (patch) | |
| tree | 15ff3c17d80d60d33a3201dce9fc3bf75b24d52e /sys/arch/sparc64/dev/pyro.c | |
| parent | 79db7aecba3149e3507d4fc7257d807633620fc0 (diff) | |
Associate the OpenBoot / OpenFirmware node with attached devices
at config_found() time.
Diffstat (limited to 'sys/arch/sparc64/dev/pyro.c')
| -rw-r--r-- | sys/arch/sparc64/dev/pyro.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/pyro.c b/sys/arch/sparc64/dev/pyro.c index 01769a12142..bf91856c19a 100644 --- a/sys/arch/sparc64/dev/pyro.c +++ b/sys/arch/sparc64/dev/pyro.c @@ -1,4 +1,4 @@ -/* $NetBSD: pyro.c,v 1.23 2021/04/24 23:36:49 thorpej Exp $ */ +/* $NetBSD: pyro.c,v 1.24 2021/05/10 23:53:44 thorpej Exp $ */ /* from: $OpenBSD: pyro.c,v 1.20 2010/12/05 15:15:14 kettenis Exp $ */ /* @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pyro.c,v 1.23 2021/04/24 23:36:49 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pyro.c,v 1.24 2021/05/10 23:53:44 thorpej Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -237,7 +237,9 @@ pyro_init(struct pyro_softc *sc, int busa) free(busranges, M_DEVBUF); - config_found(sc->sc_dev, &pba, pyro_print, CFARG_EOL); + config_found(sc->sc_dev, &pba, pyro_print, + CFARG_DEVHANDLE, prom_node_to_devhandle(sc->sc_node), + CFARG_EOL); } void |
