mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andre Hedrick <andre@linux-ide.org>
To: Dave Jones <davej@redhat.com>
Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	lkcd-devel@lists.sourceforge.net,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-ide@vger.kernel.org
Subject: Re: [PATCH] Poll-based IDE driver
Date: Wed, 8 Oct 2003 09:36:36 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.10.10310080935350.7858-100000@master.linux-ide.org> (raw)
In-Reply-To: <20031008115051.GD705@redhat.com>


Does not matter, priority is to get content to platter and the hell with
everything else.  The reset button is your friend.

Andre Hedrick
LAD Storage Consulting Group

On Wed, 8 Oct 2003, Dave Jones wrote:

> On Wed, Oct 08, 2003 at 03:13:57PM +0530, Srivatsa Vaddagiri wrote:
> 
>  > /* Wait for at least N usecs (1 clock per cycle, 10GHz processor = 10000) */
>  > /* ToDo : replace this routine based on loops_per_jiffy?? */
>  > static inline void dump_udelay(unsigned int num_usec)
>  > {
>  > 	volatile unsigned int i;
>  > 	for (i = 0; i < 10000 * num_usec; i++);
>  > }
> 
> Why not just use udelay() ?  The above code cannot possibly do
> the right thing on all processors.
> 
> 		Dave
> 
> -- 
>  Dave Jones     http://www.codemonkey.org.uk
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  parent reply	other threads:[~2003-10-08 16:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17  9:11 [PATCH] Poll-based IDE dump driver for LKCD Srivatsa Vaddagiri
2003-09-17 13:55 ` Alan Cox
2003-10-08  9:43   ` [PATCH] Poll-based IDE driver Srivatsa Vaddagiri
2003-10-08 11:50     ` Dave Jones
2003-10-08 12:14       ` Srivatsa Vaddagiri
2003-10-08 12:15         ` Dave Jones
2003-10-08 13:26         ` Russell King
2003-10-08 18:34         ` [lkcd-devel] " Stephen Hemminger
2003-10-08 21:48         ` Alan Cox
2003-10-08 23:43           ` Jamie Lokier
2003-10-08 16:36       ` Andre Hedrick [this message]
2003-10-08 16:48         ` Dave Jones
2003-10-09  6:57           ` Andre Hedrick
2003-10-08 21:47     ` Alan Cox
2003-10-09  7:06       ` Andre Hedrick
2003-10-13 17:41         ` PRD Table id ol
2003-10-15 20:46           ` Alan Cox
2003-10-16 11:47           ` Andre Hedrick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.10.10310080935350.7858-100000@master.linux-ide.org \
    --to=andre@linux-ide.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=davej@redhat.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkcd-devel@lists.sourceforge.net \
    --cc=vatsa@in.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®