Mockern wrote:
The problem is that I need to use wait_event_timeout function
AFAIK you can't do that, it's just not the right tool for the job. You
can always use a single jiffy and be sure you will wait at least 20us,
or use usleep.
No matter how much you "need to use" your snowblower, it
Do not top-post, please.
Mockern napsal(a):
Mockern napsal(a):
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 5 HZ :). Use udelay.
>
The problem is that I need to use wait_event_timeout
The problem is that I need to use wait_event_timeout function
>Am Samstag 03 Mдrz 2007 15:20 schrieb Mockern:
>> 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?
>
>You can't do it with jiffies
The problem is that I need to use wait_event_timeout function.
>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 5 HZ :). Use ude
Am Samstag 03 März 2007 15:20 schrieb Mockern:
> 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?
You can't do it with jiffies as they have 1 millisecond resolution at best.
You'd use something like
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 5 HZ :). Use udelay.
regards,
--
http://www.fi.muni.cz/~xslaby/Jiri Slaby
faculty of
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?
Thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http:
7 matches
Mail list logo