On Mon, Nov 29, 1999 at 06:16:34PM +0530, Binand Raj S. wrote:
> #ifndef HZ
> #define HZ 100
> #endif
> 
> And in /usr/src/linux/drivers/block/ide.h:
> 
> /*
>  * Timeouts for various operations:
>  */
> #define WAIT_DRQ      (5*HZ/100)      /* 50msec - spec allows up to 20ms */
> 
> With the above HZ value, that should work out to 5, not 50. Is there a factor
> of 10 somewhere hidden, or is it really 5 ms?

WAIT_DRQ will be 5 jiffies. 1 jiffie = 1/100 sec = 10 ms.

        -Arun

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.

Reply via email to