From: Poul-Henning Kamp <[EMAIL PROTECTED]>
Date: Wed, 27 Sep 2000 15:01:13 +0200
> >I would like to have review especially on the changes in
> >i386/isa/clock.c for counting delay loop numbers,
>
> Could you explain the functionality you need here ? We already
> have a DELAY() macro/function in the kernel...
There are codes like;
int tout = sc->sc_wc;
;
while (slp->sl_scp.scp_datalen > 0 && tout -- > 0)
{
;
}
To calculate the tout we use;
sc->sc_wc = delaycount * 2000; /* 2 sec */
And we initialize the delaycount in clock.c.
// Noriaki Mitsunaga
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message