lkml.org 
[lkml]   [2003]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Poll-based IDE driver

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
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.107 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site