Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej-i2c-spi-conf]: src/sys/dev/pci Pass along our devhandle to the i...
details: https://anonhg.NetBSD.org/src/rev/2f7bfccc04bd
branches: thorpej-i2c-spi-conf
changeset: 1020809:2f7bfccc04bd
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri May 14 22:46:36 2021 +0000
description:
Pass along our devhandle to the iic bus instance.
diffstat:
sys/dev/pci/alipm.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r b544e7b6099c -r 2f7bfccc04bd sys/dev/pci/alipm.c
--- a/sys/dev/pci/alipm.c Fri May 14 06:53:14 2021 +0000
+++ b/sys/dev/pci/alipm.c Fri May 14 22:46:36 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alipm.c,v 1.12 2021/04/24 23:36:57 thorpej Exp $ */
+/* $NetBSD: alipm.c,v 1.12.2.1 2021/05/14 22:46:36 thorpej Exp $ */
/* $OpenBSD: alipm.c,v 1.13 2007/05/03 12:19:01 dlg Exp $ */
/*
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: alipm.c,v 1.12 2021/04/24 23:36:57 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: alipm.c,v 1.12.2.1 2021/05/14 22:46:36 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -210,7 +210,9 @@
memset(&iba, 0, sizeof iba);
iba.iba_tag = &sc->sc_smb_tag;
- config_found(sc->sc_dev, &iba, iicbus_print, CFARG_EOL);
+ config_found(sc->sc_dev, &iba, iicbus_print,
+ CFARG_DEVHANDLE, device_handle(self),
+ CFARG_EOL);
return;
Home |
Main Index |
Thread Index |
Old Index