Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756007Ab1BKNF2 (ORCPT ); Fri, 11 Feb 2011 08:05:28 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:60630 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726Ab1BKNF1 (ORCPT ); Fri, 11 Feb 2011 08:05:27 -0500 Message-ID: <4D5533CB.8000003@ru.mvista.com> Date: Fri, 11 Feb 2011 16:04:11 +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: Bartlomiej Zolnierkiewicz CC: Sergei Shtylyov , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Alan Cox Subject: Re: [PATCH 21/20] ata_piix: add new PIIX_FLAG_* flags References: <201102081652.36752.bzolnier@gmail.com> <4D51796C.8020008@ru.mvista.com> In-Reply-To: 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: 1463 Lines: 41 Hello. On 08-02-2011 21:18, Bartlomiej Zolnierkiewicz wrote: >>> Turn open-coded checks in piix_set_timings() into PIIX_FLAG_* flags >>> per suggestion from Alan Cox. >>> Suggested-by: Alan Cox >>> Signed-off-by: Bartlomiej Zolnierkiewicz >> [...] >>> Index: b/drivers/ata/ata_piix.c >>> =================================================================== >>> --- a/drivers/ata/ata_piix.c >>> +++ b/drivers/ata/ata_piix.c >>> @@ -133,6 +133,8 @@ enum { >>> PIIX_FLAG_CHECKINTR = (1<< 28), /* make sure PCI INTx enabled >>> */ >>> PIIX_FLAG_SIDPR = (1<< 29), /* SATA idx/data pair regs */ >>> + PIIX_FLAG_NO_SITRE = (1<< 30), /* no SITRE register */ >> The register in question is called SIDETIM, SITRE is a bit that enables >> its use. > ICH4-M databook that I have at hand (Intel IDE PRM seems to be gone > from Intel's website, though I'm sure I have a backup _somewhere_) it If you mean ICH IDE Controller PRM (29860004.pdf), it indeed calls the register *SITR* (yet it has SIDETIM mentioned in the table 37 :-). Intel seems not very consistent in its documentation. :-) > Thanks, > Bartlomiej 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/