From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outmx003.isp.belgacom.be (outmx003.isp.belgacom.be [195.238.4.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 5BBB967BAD for ; Sat, 18 Nov 2006 06:12:28 +1100 (EST) Received: from outmx003.isp.belgacom.be (localhost [127.0.0.1]) by outmx003.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id kAHJCJV7016251 for ; Fri, 17 Nov 2006 20:12:20 +0100 (envelope-from ) Message-ID: <455E0987.7000809@246tNt.com> Date: Fri, 17 Nov 2006 20:12:07 +0100 From: Sylvain Munaut MIME-Version: 1.0 To: Alan Subject: Re: [PATCH/RFC] ata: Add support for the MPC52xx ATA controller using libata References: <11637151391017-git-send-email-tnt@246tNt.com> <20061116234601.78325642@localhost.localdomain> In-Reply-To: <20061116234601.78325642@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Cc: Linux PPC Embedded , Sven Luther , Linux IDE List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Alan wrote: > On Thu, 16 Nov 2006 23:12:19 +0100 > Sylvain Munaut wrote: > > >> * The manual states we should check for the TIP bit before all >> PIO transaction. That's not really supported by libata and requires >> reimplementing almost all the hooks. But after talking to Freescale, >> it turnsout it's not really necessary. So this driver doesn't implement >> that check. I noticed no problem so far ... >> >> > > All PIO transactions meaning each PIO command sequence or each register > read/write ? In the former case is it not enough just to wrap the command > write ? > Each register write apparently. >> * This driver doesn't use the standard function to compute timing >> because the 5200 needs more timing parameters that are not handled >> by the generic call (ta and t4). >> > > I'd rather the generic code was taught to compute any extra times you > need but it seems clean enough. > Well, I can do that as well. It should be simple enough and not interfere with the existing drivers. Sylvain