From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756965Ab0BMNp0 (ORCPT ); Sat, 13 Feb 2010 08:45:26 -0500 Received: from fg-out-1718.google.com ([72.14.220.155]:8612 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755701Ab0BMNpW (ORCPT ); Sat, 13 Feb 2010 08:45:22 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:message-id:content-type:content-transfer-encoding; b=yEaa1Mi41FO5Q/jG5PwzE+L/4Kza1PL8F7aIk4JkllOn/urtFDegNXAwuUV375OAfd oMNheScHQfQmavT0kPrQ/G98jcqmUimqmI13RfAQf6cwF/+6q69qsuLO8rWaSrZONN3j jeT/N0KoAK5cLTYlhQjjUUPArP7uabvw/JewM= From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org Subject: Re: [PATCH 2/3] pata_pdc202xx_old: fix UDMA mode for PDC2026x chipsets Date: Sat, 13 Feb 2010 14:44:58 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31.12-0.1-desktop; KDE/4.3.1; x86_64; ; ) Cc: linux-kernel@vger.kernel.org, Russell King References: <20100213133538.11564.94218.sendpatchset@localhost> <20100213133559.11564.54028.sendpatchset@localhost> In-Reply-To: <20100213133559.11564.54028.sendpatchset@localhost> MIME-Version: 1.0 Message-Id: <201002131444.58139.bzolnier@gmail.com> Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 13 February 2010 02:35:59 pm Bartlomiej Zolnierkiewicz wrote: > From: Bartlomiej Zolnierkiewicz > Subject: [PATCH] pata_pdc202xx_old: fix UDMA mode for PDC2026x chipsets > > PDC2026x chipsets need the same treatment as PDC20246 one. > > This is completely untested but will hopefully fix UDMA issues > that people have been reporting against pata_pdc202xx_old for > the last couple of years. > > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/ata/pata_pdc202xx_old.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > Index: b/drivers/ata/pata_pdc202xx_old.c > =================================================================== > --- a/drivers/ata/pata_pdc202xx_old.c > +++ b/drivers/ata/pata_pdc202xx_old.c > @@ -26,7 +26,7 @@ > > #include "pata_pdc202xx_old.h" > > -static void pdc20246_exec_command(struct ata_port *ap, > +static void pdc202xx_exec_command(struct ata_port *ap, > const struct ata_taskfile *tf) > { > DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); > @@ -181,7 +181,7 @@ static struct ata_port_operations pdc202 > .set_piomode = pdc202xx_set_piomode, > .set_dmamode = pdc202xx_set_dmamode, > > - .sff_exec_command = pdc20246_exec_command, > + .sff_exec_command = pdc202xx_exec_command, > }; > > static struct ata_port_operations pdc2026x_port_ops = { the missing chunk :) @@ -195,6 +195,8 @@ .dev_config = pdc2026x_dev_config, .port_start = pdc2026x_port_start, + + .sff_exec_command = pdc202xx_exec_command, }; static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id)