Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2009 09:58:06 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196455 - head/sys/dev/asmc
Message-ID:  <200908230958.n7N9w6AJ053577@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Sun Aug 23 09:58:06 2009
New Revision: 196455
URL: http://svn.freebsd.org/changeset/base/196455

Log:
  Make dev.asmc.N.light.control writable by everyone.
  
  Submitted by:	Patrick Lamaiziere <patfbsd at davenulle.org>
  MFC after:	1 week

Modified:
  head/sys/dev/asmc/asmc.c

Modified: head/sys/dev/asmc/asmc.c
==============================================================================
--- head/sys/dev/asmc/asmc.c	Sun Aug 23 09:55:06 2009	(r196454)
+++ head/sys/dev/asmc/asmc.c	Sun Aug 23 09:58:06 2009	(r196455)
@@ -419,7 +419,8 @@ asmc_attach(device_t dev)
 
 		SYSCTL_ADD_PROC(sysctlctx,
 		    SYSCTL_CHILDREN(sc->sc_light_tree),
-		    OID_AUTO, "control", CTLTYPE_INT | CTLFLAG_RW,
+		    OID_AUTO, "control",
+		    CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_ANYBODY,
 		    dev, 0, model->smc_light_control, "I",
 		    "Keyboard backlight brightness control");
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908230958.n7N9w6AJ053577>