Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/thorpej-cfargs]: src/sys/dev/i2c config_match() -> config_probe(). It's...



details:   https://anonhg.NetBSD.org/src/rev/e984c0e0ce94
branches:  thorpej-cfargs
changeset: 1019764:e984c0e0ce94
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Apr 05 01:27:59 2021 +0000

description:
config_match() -> config_probe().  It's a little over-loaded here because
we're mixing direct and indirect in the same place, but that will be
addresed at a later time.

diffstat:

 sys/dev/i2c/i2c.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a7d5b74dfaf4 -r e984c0e0ce94 sys/dev/i2c/i2c.c
--- a/sys/dev/i2c/i2c.c Mon Apr 05 01:25:55 2021 +0000
+++ b/sys/dev/i2c/i2c.c Mon Apr 05 01:27:59 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i2c.c,v 1.77.2.7 2021/04/04 22:01:22 thorpej Exp $     */
+/*     $NetBSD: i2c.c,v 1.77.2.8 2021/04/05 01:27:59 thorpej Exp $     */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.77.2.7 2021/04/04 22:01:22 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.77.2.8 2021/04/05 01:27:59 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -343,7 +343,7 @@
                 * us from having to poke at the bus to see if anything
                 * is there.
                 */
-               match_result = config_match(parent, cf, &ia);
+               match_result = config_probe(parent, cf, &ia);/*XXX*/
                if (match_result <= 0)
                        continue;
 



Home | Main Index | Thread Index | Old Index