From patchwork Wed Nov 25 17:06:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 39389 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 36CD2B7067 for ; Thu, 26 Nov 2009 04:22:38 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932491AbZKYRHU (ORCPT ); Wed, 25 Nov 2009 12:07:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932456AbZKYRHS (ORCPT ); Wed, 25 Nov 2009 12:07:18 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:42882 "EHLO mail-fx0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932422AbZKYRHP (ORCPT ); Wed, 25 Nov 2009 12:07:15 -0500 Received: by mail-fx0-f213.google.com with SMTP id 5so7208420fxm.28 for ; Wed, 25 Nov 2009 09:07:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=arDgxMiRA6t4M+cbtQblq/RUWQeq+JEEtXCOGSihfrU=; b=PZ4WYDt3M8GeH/qDg5tidBKsB3wgyEfLACzu7irtkXcKzKp5qnLQnZktTClJW9WN23 8qX/YZ65+dzSgmMmhA52dsW8p5CoAW73Sil/teUUDzwriI8jPVEanSo6dPxsyWznXUGv +8oVLXtvKcl/zQmh45nwy4EnoXJOg5Dn7kfMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=gg7SJ8T/ieHDUll3LrWu2UfCFP4/wP3hSLG5n8pWrQflPS1tk0Podqwh2KqjoRhl2r AsrQFf5eHW9x+tlprxUebI5bqPmwhRIaoM8GKMixSG+Qw1YzaIvkK9wxOTGRpJjB8UnZ G+VAzA0+yEBwLGahd4yAz4RdwQ7EHpLNTKEzs= Received: by 10.216.89.129 with SMTP id c1mr2703323wef.35.1259168840662; Wed, 25 Nov 2009 09:07:20 -0800 (PST) Received: from ?127.0.0.1? (chello089079027028.chello.pl [89.79.27.28]) by mx.google.com with ESMTPS id q9sm14661481gve.15.2009.11.25.09.07.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Nov 2009 09:07:20 -0800 (PST) From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org Date: Wed, 25 Nov 2009 18:06:37 +0100 Message-Id: <20091125170637.5446.77089.sendpatchset@localhost> In-Reply-To: <20091125170218.5446.13513.sendpatchset@localhost> References: <20091125170218.5446.13513.sendpatchset@localhost> Subject: [PATCH 36/86] pata_it8213: add UDMA100 and UDMA133 support Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From: Bartlomiej Zolnierkiewicz Subject: [PATCH] pata_it8213: add UDMA100 and UDMA133 support There shouldn't be any problems with it as IDE it8213 host driver has been supporting UDMA100 and UDMA133 for years. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/pata_it8213.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: b/drivers/ata/pata_it8213.c =================================================================== --- a/drivers/ata/pata_it8213.c +++ b/drivers/ata/pata_it8213.c @@ -164,7 +164,7 @@ static void it8213_set_dmamode (struct a /* Clocks follow the PIIX style */ u_speed = min(2 - (udma & 1), udma); - if (udma == 5) + if (udma > 4) u_clock = 0x1000; /* 100Mhz */ else if (udma > 2) u_clock = 1; /* 66Mhz */ @@ -264,7 +264,7 @@ static int it8213_init_one (struct pci_d .flags = ATA_FLAG_SLAVE_POSS, .pio_mask = ATA_PIO4, .mwdma_mask = ATA_MWDMA2, - .udma_mask = ATA_UDMA4, /* FIXME: want UDMA 100? */ + .udma_mask = ATA_UDMA6, .port_ops = &it8213_ops, }; /* Current IT8213 stuff is single port */