Re: [RFC][PATCH] at91_ide driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stanislaw Gruszka wrote:

+            t9 = t2i - t1;

It more sense to calculate such things *after* quantizing the timings with calc_mck_cycles()...

Why?

 More precise result -- matching the clock being used.

 However, I don't understand now why you need to stretch t9...

Ah, I do again. t0 *should be equal* to t1 + t2 + t9 for the better speeds.

Moreover, t1 + t2 + t9 must be no less that t0 minimum, otherwise it would be a timing violation.

And hold time should meet min t2i requirement, so t9 = max(t9_orig, t2i - t1).

   There's no direct connection between these in ATA/CF specs.

Stanislaw Gruszka

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux