Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764807AbXFEONg (ORCPT ); Tue, 5 Jun 2007 10:13:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764274AbXFEONW (ORCPT ); Tue, 5 Jun 2007 10:13:22 -0400 Received: from gateway-1237.mvista.com ([63.81.120.155]:18856 "EHLO imap.sh.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1763495AbXFEONR (ORCPT ); Tue, 5 Jun 2007 10:13:17 -0400 Message-ID: <46656FD6.6030305@ru.mvista.com> Date: Tue, 05 Jun 2007 18:14:46 +0400 From: Sergei Shtylyov Organization: MontaVista Software Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803 X-Accept-Language: ru, en-us, en-gb MIME-Version: 1.0 To: Bartlomiej Zolnierkiewicz Cc: Geller Sandor , Andrew Morton , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: HPT374 IDE problem with 2.6.21.* kernels References: <4662FC30.2000602@ru.mvista.com> <200706050300.56079.bzolnier@gmail.com> <46655AEA.4020906@ru.mvista.com> In-Reply-To: <46655AEA.4020906@ru.mvista.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1267 Lines: 40 Hello, I wrote: >> I felt inspired by this explanation (thanks!) and took a look at >> hpt374-opensource-v2.10 vendor driver. Here is something interesting: >> glbdata.c: >> ... >> #ifdef CLOCK_66MHZ >> ULONG setting370_66[] = { >> 0xd029d5e, 0xd029d26, 0xc829ca6, 0xc829c84, 0xc829c62, >> 0x2c829d2c, 0x2c829c66, 0x2c829c62, >> 0x1c829c62, 0x1c9a9c62, 0x1c929c62, 0x1c8e9c62, 0x1c8a9c62, >> 0x1c8a9c62/*0x1cae9c62*/, 0x1c869c62, 0x1c869c62, >> }; >> ... >> hpt366.c: >> ... >> static u32 sixty_six_base_hpt37x[] = { >> /* XFER_UDMA_6 */ 0x1c869c62, >> /* XFER_UDMA_5 */ 0x1cae9c62, /* 0x1c8a9c62 */ >> ... >> So we are using Dual ATA Clock for UDMA5 whereas vendor driver doesn't > This is so in all other HPT drivers (and HPT371N datasheet has the > same figures -- this chip is the only one supporting UDMA6 and having > the default DPLL clock > 50 MHz). What I meant to say was the only one I have a datasheet for. :-) MBR, 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/