Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934795AbZKYRMs (ORCPT ); Wed, 25 Nov 2009 12:12:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759427AbZKYRMp (ORCPT ); Wed, 25 Nov 2009 12:12:45 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:52976 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934782AbZKYRMm (ORCPT ); Wed, 25 Nov 2009 12:12:42 -0500 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=nlnVroZWVrQpPa1D/p+MFu+5A5G+Vlpbu4QK8ixNTrV7wwEisP7iO48DZiL/XUlI6p tOykpaSyY4NIQ+wjwGTrbqgSK8Y7XHMo8DFzcEb7kph8D4LbCXQzSwxheeVGbAtj+Bf/ 6tnvDOGx1X/pMulE+L/3GxI1MSr38W6c4uKa8= From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org Date: Wed, 25 Nov 2009 18:12:04 +0100 Message-Id: <20091125171204.5446.97471.sendpatchset@localhost> In-Reply-To: <20091125170218.5446.13513.sendpatchset@localhost> References: <20091125170218.5446.13513.sendpatchset@localhost> Subject: [PATCH 80/86] libata: make ata_sff_data_xfer_noirq() work with 32-bit PIO Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1235 Lines: 33 From: Bartlomiej Zolnierkiewicz Subject: [PATCH] libata: make ata_sff_data_xfer_noirq() work with 32-bit PIO Always use ata_sff_data_xfer32() in ata_sff_data_xfer_noirq() so the latter can be also used for host controllers supporting 32-bit PIO operations. [ It is safe since if 32-bit PIO is not supported or enabled ata_sff_data_xfer32() will fallback to a standard method. ] Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/libata-sff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/ata/libata-sff.c =================================================================== --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c @@ -838,7 +838,7 @@ unsigned int ata_sff_data_xfer_noirq(str unsigned int consumed; local_irq_save(flags); - consumed = ata_sff_data_xfer(dev, buf, buflen, rw); + consumed = ata_sff_data_xfer32(dev, buf, buflen, rw); local_irq_restore(flags); return consumed; -- 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/