Fix cut/paste error; a read-only variable should have been read/write.

This commit is contained in:
Peter Wemm 1996-06-16 13:32:16 +00:00
parent faf4b6d3b5
commit bde5e68a33
2 changed files with 4 additions and 4 deletions

View File

@ -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 *));

View File

@ -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 *));