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/kern/subr_autoconf.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/subr_autoconf.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.119.4.1 retrieving revision 1.119.4.2 diff -u -p -r1.119.4.1 -r1.119.4.2 --- src/sys/kern/subr_autoconf.c 2007/08/03 22:17:29 1.119.4.1 +++ src/sys/kern/subr_autoconf.c 2007/10/01 05:38:07 1.119.4.2 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_autoconf.c,v 1.119.4.1 2007/08/03 22:17:29 jmcneill Exp $ */ +/* $NetBSD: subr_autoconf.c,v 1.119.4.2 2007/10/01 05:38:07 joerg Exp $ */ /* * Copyright (c) 1996, 2000 Christopher G. Demetriou @@ -77,7 +77,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.119.4.1 2007/08/03 22:17:29 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.119.4.2 2007/10/01 05:38:07 joerg Exp $"); #include "opt_ddb.h" @@ -1718,6 +1718,18 @@ device_private(device_t dev) return (dev); } +void * +device_power_private(device_t dev) +{ + return (dev->dv_power); +} + +void +device_power_set_private(device_t dev, void *dv_power) +{ + dev->dv_power = dv_power; +} + prop_dictionary_t device_properties(device_t dev) {