From patchwork Wed Nov 25 17:07:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 39354 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 6F11CB7067 for ; Thu, 26 Nov 2009 04:22:12 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758850AbZKYRIK (ORCPT ); Wed, 25 Nov 2009 12:08:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932529AbZKYRIH (ORCPT ); Wed, 25 Nov 2009 12:08:07 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:57397 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932331AbZKYRIE (ORCPT ); Wed, 25 Nov 2009 12:08:04 -0500 Received: by mail-ew0-f219.google.com with SMTP id 19so596512ewy.21 for ; Wed, 25 Nov 2009 09:08:10 -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=pe3/aatF+ogCJQ9jrQtNqxOg+l++SFvGcb7vH+xrYIc=; b=mnjPOT9dm5Yzc66CRExVsRVcTde1qQEKDjg8g5MZ9AgXZB5cbaf1emLNIHM8Q9yAs6 tB+MThYnVwoxUz4IkrRHGTjC+t9RT/DX7FHqhSCY73UaMhn9bK4lgXnV0aQoosjLEtzr ZC5tmbJWgICHwtRTr1d/tDaCGdzQ/oOXqOSeA= 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=Cf/r1rf61SASSObwyw8mWkEwq1wuoESf2mu1MPOoLzhqqbbiz7EV8EQ7UeUQPJmb/p sIqJsREkHV/syOTqy7x1syvhAS8qBskh7MNz1goTXUp6f3tW3SUyubwTPscSPcBPUEkw xRr7+F+LVWI+vvN1uBd3C+0z21diiky49c6vw= Received: by 10.216.90.18 with SMTP id d18mr2546924wef.225.1259168890258; Wed, 25 Nov 2009 09:08:10 -0800 (PST) Received: from ?127.0.0.1? (chello089079027028.chello.pl [89.79.27.28]) by mx.google.com with ESMTPS id g9sm14681718gvc.10.2009.11.25.09.08.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Nov 2009 09:08:09 -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:07:26 +0100 Message-Id: <20091125170726.5446.18826.sendpatchset@localhost> In-Reply-To: <20091125170218.5446.13513.sendpatchset@localhost> References: <20091125170218.5446.13513.sendpatchset@localhost> Subject: [PATCH 43/86] pata_it821x: add 32-bit PIO 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_it821x: add 32-bit PIO support There shouldn't be any problems with it as IDE it821x host driver has been allowing 32-bit PIO operations for years. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/pata_it821x.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 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_it821x.c =================================================================== --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c @@ -738,7 +738,7 @@ static int it821x_port_start(struct ata_ struct it821x_dev *itdev; u8 conf; - int ret = ata_sff_port_start(ap); + int ret = ata_sff_port_start32(ap); if (ret < 0) return ret; @@ -801,7 +801,7 @@ static struct scsi_host_template it821x_ }; static struct ata_port_operations it821x_smart_port_ops = { - .inherits = &ata_bmdma_port_ops, + .inherits = &ata_bmdma32_port_ops, .check_atapi_dma= it821x_check_atapi_dma, .qc_issue = it821x_smart_qc_issue, @@ -815,7 +815,7 @@ static struct ata_port_operations it821x }; static struct ata_port_operations it821x_passthru_port_ops = { - .inherits = &ata_bmdma_port_ops, + .inherits = &ata_bmdma32_port_ops, .check_atapi_dma= it821x_check_atapi_dma, .sff_dev_select = it821x_passthru_dev_select, @@ -831,7 +831,7 @@ static struct ata_port_operations it821x }; static struct ata_port_operations it821x_rdc_port_ops = { - .inherits = &ata_bmdma_port_ops, + .inherits = &ata_bmdma32_port_ops, .check_atapi_dma= it821x_check_atapi_dma, .sff_dev_select = it821x_passthru_dev_select,