Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755215Ab1BHRNm (ORCPT ); Tue, 8 Feb 2011 12:13:42 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:34919 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755155Ab1BHRNl (ORCPT ); Tue, 8 Feb 2011 12:13:41 -0500 Message-ID: <4D51796C.8020008@ru.mvista.com> Date: Tue, 08 Feb 2011 20:12:12 +0300 From: Sergei Shtylyov User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Bartlomiej Zolnierkiewicz CC: 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> In-Reply-To: <201102081652.36752.bzolnier@gmail.com> 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: 1006 Lines: 30 Hello. 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. 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/