From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH 1/2] pata_hpt37x: actually clock HPT374 by 50 MHz DPLL Date: Tue, 07 Aug 2007 20:49:34 -0400 Message-ID: <46B9131E.3040404@garzik.org> References: <200708052245.16406.sshtylyov@ru.mvista.com> <20070805202359.41fd0236@the-village.bc.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:60788 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758138AbXHHAtk (ORCPT ); Tue, 7 Aug 2007 20:49:40 -0400 In-Reply-To: <20070805202359.41fd0236@the-village.bc.nu> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: Sergei Shtylyov , linux-ide@vger.kernel.org, rah@bash.sh Alan Cox wrote: >> /* Compute DPLL */ >> - dpll = 2; >> - if (port->udma_mask & 0xE0) >> - dpll = 3; >> + dpll = (port->udma_mask & 0xC0) ? 3 : 2; > > Gak, I'd much rather people kept to the nice easy to read if() but fine > > is_author_p()?Signed-off-by:Acked-by Alan Cox Does your ACK stand, even though it still locks up for Bob Ham? Jeff