From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030303AbXCCOwe (ORCPT ); Sat, 3 Mar 2007 09:52:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030305AbXCCOwe (ORCPT ); Sat, 3 Mar 2007 09:52:34 -0500 Received: from cacti.profiwh.com ([85.93.165.66]:43881 "EHLO cacti.profiwh.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030303AbXCCOwd (ORCPT ); Sat, 3 Mar 2007 09:52:33 -0500 Message-ID: <45E98BAF.9010401@gmail.com> Date: Sat, 03 Mar 2007 15:52:31 +0100 From: Jiri Slaby User-Agent: Thunderbird 2.0b2 (X11/20070116) MIME-Version: 1.0 To: Mockern@yandex.ru Cc: linux-kernel@vger.kernel.org Subject: Re: Question: 20 microseconds delay References: <45E98415.000002.30135@webmail9.yandex.ru> <45E986E2.3010203@gmail.com> <45E98A4D.000006.28746@webmail13.yandex.ru> In-Reply-To: <45E98A4D.000006.28746@webmail13.yandex.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 50000 HZ :). Use udelay. > > The problem is that I need to use wait_event_timeout function. Hardly. Place a piece of code here or describe what do you want to achieve. 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 is an alias for /dev/null