lkml.org 
[lkml]   [2011]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/20] ata_piix: unify code for programming PIO and MWDMA timings
On Mon, 21 Feb 2011 14:38:37 +0300
Sergei Shtylyov <sshtylyov@mvista.com> wrote:

> Hello.
>
> On 21-02-2011 0:07, Alan Cox wrote:
>
> >> PIO mode is setup by different code, and it takes care of the IORDY
> >> setting according to the PIO rules (and it gets called). DMA mode setup should
> >> just ignore the IORDY setting as in all other sane drivers.
>
> > Well it can't ignore it - but if you mean just keep the bit as is then
>
> Yes, I mean this.
>
> > that sounds sensible, have to see what the docs say happens if you ever
> > set MWDMA without IORDY.
>
> Don't think they say anything on this matter but I can't imagine that
> IORDY matters for DMA.

Sure - but it does matter for an ATAPI transaction with then has a DMA
phase because those timings will be used for the command transfer which
is PIO.

Alan


\
 
 \ /
  Last update: 2011-02-21 12:59    [W:0.229 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site