2003-02-06 17:33:11

by Ross Biro

[permalink] [raw]
Subject: Re: [PATCH] PATCH: add framework for ndelay (nanoseconds)

Alan Cox wrote:

>Why waste 500nS every IDE command as opposed to doing the job right ? The initial
>ndelay() is a quick implementation. If you don't like it implement a better one,
>if your box isnt fast implement it as udelay.
>
>
The delay should be made controller specific. On most controllers the
reading of the alt status we need to do to flush the write command to
the drive will also cause enough of a delay so that the ndelay isn't
needed at all. For example the on the Promise 20265 and 20267 the alt
status read will always take at least 600ns.

Ross