From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756592AbXICSu4 (ORCPT ); Mon, 3 Sep 2007 14:50:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754436AbXICSud (ORCPT ); Mon, 3 Sep 2007 14:50:33 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:43480 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753415AbXICSuc (ORCPT ); Mon, 3 Sep 2007 14:50:32 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-disposition:message-id:content-type:content-transfer-encoding; b=H2lWbyZ8nVb45E9wzHJDaOKRzeEriwxBu0aFOvy3WO4fo/jtqmT0xOHCpx6CWDGydCnSvz86YfDx5TpGGgBauu+m0gaA0qcIOZG5aRfYE6L00vgJ5PMTyoDHwZzlehK9S65ymtB6o+Z3jOoyVv/U6rzALgOfFwL8NzQ7j7Fsm+4= From: Bartlomiej Zolnierkiewicz To: Sergei Shtylyov Subject: Re: [PATCH 2/4] hpt366: MWDMA filter for SATA cards Date: Mon, 3 Sep 2007 20:50:32 +0200 User-Agent: KMail/1.9.6 Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <200709030019.22732.sshtylyov@ru.mvista.com> <46DB1C50.2020205@ru.mvista.com> In-Reply-To: <46DB1C50.2020205@ru.mvista.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200709032050.32397.bzolnier@gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sunday 02 September 2007, Sergei Shtylyov wrote: > Hello, I wrote: > > The patch was 4/4 of course. :-< > Probably I was too esctatic about the code. ;-) > > > The Marvell bridge chips used on HighPoint SATA cards do not seem to support > > the MWDMA modes (at least that caould be seen in their so-called drivers :-), > > so the driver needs to account for this -- to achieve this: > > > - add mdma_filter() method from the original patch by Bartlomiej Zolnierkewicz > > with his consent, also adding the method callout to ide_rate_filter(); > > > - installed the method for all chips to only return empty mask if a SATA drive > > is detected onHPT372{AN]/374 chips... > > > Signed-off-by: Sergei Shtylyov > > > --- > > This patch against the current Linus' tree and unfortunately I was able to only > > compile test it since that tree gives MODPOST warning and dies early on bootup. > > Will hopefully try to test if/when I have time... :-) > > > Index: linux-2.6/drivers/ide/pci/hpt366.c > > =================================================================== > > --- linux-2.6.orig/drivers/ide/pci/hpt366.c > > +++ linux-2.6/drivers/ide/pci/hpt366.c > > @@ -1,5 +1,5 @@ > > /* > > - * linux/drivers/ide/pci/hpt366.c Version 1.12 Aug 25, 2007 > > + * linux/drivers/ide/pci/hpt366.c Version 1.13 Aug 22, 2007 > > Errr... and version shuold Aug 02 -- thought I've fixed that. :-/ and we have ATA_MWDMA2 define in _vanilla_ kernel now :) Bart