aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/si
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-06-16 13:32:16 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-06-16 13:32:16 +0000
commitbde5e68a33e142ea83cc7d615ed8a396ddfd7f41 (patch)
tree3a2fd464d84063a5af2943f59f667b4a51734fde /sys/dev/si
parentfaf4b6d3b53d0ee342cea21e284e59cb9dcbdbd1 (diff)
downloadsrc-bde5e68a33e142ea83cc7d615ed8a396ddfd7f41.tar.gz
src-bde5e68a33e142ea83cc7d615ed8a396ddfd7f41.zip
Fix cut/paste error; a read-only variable should have been read/write.
Notes
Notes: svn path=/head/; revision=16403
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 076f12eb7431..b249eddc24a0 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.42 1996/06/08 10:18:12 peter Exp $
+ * $Id: si.c,v 1.43 1996/06/12 05:03:50 gpalmer Exp $
*/
#ifndef lint
@@ -231,7 +231,7 @@ static int si_default_cflag = TTYDEF_CFLAG;
#ifdef POLL
static int si_pollrate; /* in addition to irq */
-SYSCTL_INT(_machdep, OID_AUTO, si_pollrate, CTLFLAG_RD, &si_pollrate, 0, "");
+SYSCTL_INT(_machdep, OID_AUTO, si_pollrate, CTLFLAG_RW, &si_pollrate, 0, "");
static int init_finished = 0;
static void si_poll __P((void *));