Allow larger timer variation.
This commit is contained in:
parent
551f9b0d0c
commit
e61b976a20
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sequencer.c,v 1.13 1998/11/25 22:17:07 augustss Exp $ */
|
||||
/* $NetBSD: sequencer.c,v 1.14 1999/10/11 12:53:14 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -554,8 +554,8 @@ sequencerioctl(dev, cmd, addr, flag, p)
|
||||
t = *(int *)addr;
|
||||
if (t < 1)
|
||||
t = 1;
|
||||
if (t > 1000)
|
||||
t = 1000;
|
||||
if (t > 10000)
|
||||
t = 10000;
|
||||
sc->timer.timebase = t;
|
||||
*(int *)addr = t;
|
||||
RECALC_TICK(&sc->timer);
|
||||
|
Loading…
Reference in New Issue
Block a user