Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932080Ab1BUMAa (ORCPT ); Mon, 21 Feb 2011 07:00:30 -0500 Received: from mail-ew0-f42.google.com ([209.85.215.42]:62671 "EHLO mail-ew0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755428Ab1BUMA2 (ORCPT ); Mon, 21 Feb 2011 07:00:28 -0500 Message-ID: <4D62538C.1010200@ru.mvista.com> Date: Mon, 21 Feb 2011 14:59:08 +0300 From: Sergei Shtylyov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Alan Cox CC: Sergei Shtylyov , Bartlomiej Zolnierkiewicz , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/20] ata_piix: unify code for programming PIO and MWDMA timings References: <20110208122314.19110.4092.sendpatchset@linux-mhg7.site> <20110208122346.19110.8441.sendpatchset@linux-mhg7.site> <4D6118DC.80505@ru.mvista.com> <20110220185958.364df4cc@lxorguk.ukuu.org.uk> <4D617CC8.3020108@ru.mvista.com> <20110220210731.0c774fa7@lxorguk.ukuu.org.uk> <4D624EBD.4080400@ru.mvista.com> <20110221115839.2048e8fe@lxorguk.ukuu.org.uk> In-Reply-To: <20110221115839.2048e8fe@lxorguk.ukuu.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 36 Hello. On 21-02-2011 14:58, 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. ... unless the IE bit means something special (and undocumented) for DMA, if Intel so insists on setting it for every DMA mode. > 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. So what? We've already setup PIO timings before the DMA ones. Why force the IE bit? > Alan WBR, Sergei -- 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/