Date: Mon, 9 Jul 2007 13:18:04 GMT From: Rui Paulo <rpaulo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123201 for review Message-ID: <200707091318.l69DI4qb047034@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123201 Change 123201 by rpaulo@rpaulo_epsilon on 2007/07/09 13:18:00 dev.asmc.N.light.{left,right} sysctls are read-write, not read-only. Affected files ... .. //depot/projects/soc2007/rpaulo-macbook/dev/asmc/asmc.c#26 edit Differences ... ==== //depot/projects/soc2007/rpaulo-macbook/dev/asmc/asmc.c#26 (text+ko) ==== @@ -23,7 +23,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/soc2007/rpaulo-macbook/dev/asmc/asmc.c#25 $ + * $P4: //depot/projects/soc2007/rpaulo-macbook/dev/asmc/asmc.c#26 $ * */ @@ -382,13 +382,13 @@ SYSCTL_ADD_PROC(sysctlctx, SYSCTL_CHILDREN(sc->sc_light_tree), - OID_AUTO, "left", CTLTYPE_INT | CTLFLAG_RD, + OID_AUTO, "left", CTLTYPE_INT | CTLFLAG_RW, dev, 0, model->smc_light_left, "I", "Keyboard backlight left sensor"); SYSCTL_ADD_PROC(sysctlctx, SYSCTL_CHILDREN(sc->sc_light_tree), - OID_AUTO, "right", CTLTYPE_INT | CTLFLAG_RD, + OID_AUTO, "right", CTLTYPE_INT | CTLFLAG_RW, dev, 0, model->smc_light_right, "I", "Keyboard backlight right sensor"); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707091318.l69DI4qb047034>