The problem is more critical on alpha, where hz is > 1000
> [...]
> >Fix:
> This seems to work, although it increases the granularity to 1 second...
This can be a problem, some commands requires much less than 1s.
What about using 64bit integers instead ?
>
> --- /usr/src/sys/dev/ic/siop.c Tue Jun 27 05:27:17 2000
> +++ siop.c Wed Jul 12 21:43:25 2000
> @@ -1355,8 +1355,8 @@
> XS_CTL_POLL) == 0) {
> /* start exire timer */
> timeout =
> - siop_cmd->xs->timeout *
> - hz / 1000;
> + siop_cmd->xs->timeout /
> + 1000 * hz;
> if (timeout == 0)
> timeout = 1;
> callout_reset(
--
Manuel Bouyer <bou...@antioche.eu.org>
--