lkml.org 
[lkml]   [2011]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSun, 20 Feb 2011 18:59:58 +0000
FromAlan Cox <>
SubjectRe: [PATCH 02/20] ata_piix: unify code for programming PIO and MWDMA timings
> > +	if (ata_pio_need_iordy(adev) || use_mwdma)
> > control |= 2; /* IE enable */
>
> Why IORDY is enabled for MWDMA has always been beyond me... I understand
> that the stupid Intel docs are to be blamed here.

I fail to see whats stupid about the docs ?

The same timing register set is used for MWDMA and PIO cycles in MWDMA
tuned modes (eg ATAPI). Thus the controller needs to be in an MWDMA mode
whose timings are compatible with the PIO timing and we want IORDY in use
for the PIO transfer parts.

Alan


\
 
 \ /
  Last update: 2011-02-20 20:01    [from the cache]
©2003-2010