Re: Question: 20 microseconds delay

From: Jiri Slaby
Date: Sat Mar 03 2007 - 09:32:10 EST


Mockern napsal(a):
Hi,

I have a question.

I need to use 20 microsecond delay in my driver.
What exact jiffies value I should define to get 20 microseconds?

It's subjiffy delay unless you use 50000 HZ :). Use udelay.

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E

Hnus <hnus@xxxxxxxxxx> is an alias for /dev/null
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/