Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/i2c/i2c.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/i2c/i2c.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.77.2.2 retrieving revision 1.77.2.3 diff -u -p -r1.77.2.2 -r1.77.2.3 --- src/sys/dev/i2c/i2c.c 2021/03/21 19:06:19 1.77.2.2 +++ src/sys/dev/i2c/i2c.c 2021/03/22 02:01:00 1.77.2.3 @@ -1,4 +1,4 @@ -/* $NetBSD: i2c.c,v 1.77.2.2 2021/03/21 19:06:19 thorpej Exp $ */ +/* $NetBSD: i2c.c,v 1.77.2.3 2021/03/22 02:01:00 thorpej Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ #endif #include -__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.77.2.2 2021/03/21 19:06:19 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.77.2.3 2021/03/22 02:01:00 thorpej Exp $"); #include #include @@ -493,9 +493,11 @@ iic_attach(device_t parent, device_t sel "address @ 0x%02x\n", addr); } else if (sc->sc_devices[addr] == NULL) { sc->sc_devices[addr] = - config_found_sm_loc(self, "iic", - loc, &ia, iic_print_direct, - NULL); + config_found(self, &ia, + iic_print_direct, + CFARG_IATTR, "iic", + CFARG_LOCATORS, loc, + CFARG_EOL); } }