From: Alan Cox Date: Thu, 23 Aug 2007 19:18:55 +0000 (+0100) Subject: pata_it821x: Fix regression/corruptor X-Git-Tag: v2.6.23-rc4~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=604de6e0ee3517d7f66427c8fc782761e057f025;p=platform%2Fkernel%2Flinux-3.10.git pata_it821x: Fix regression/corruptor Whoever did the PCI revision patch slipped up on the it821x, and I didn't spot this at the time either. They moved the check for the errata from the 0x10 revision to 0x11. Put it back This one is important for 2.6.23 final as in some cases bad things will occur if 0x10 revision boards don't get the fixups. Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c index 430673b..7225124d 100644 --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c @@ -587,7 +587,7 @@ static int it821x_port_start(struct ata_port *ap) itdev->want[1][1] = ATA_ANY; itdev->last_device = -1; - if (pdev->revision == 0x11) { + if (pdev->revision == 0x10) { itdev->timing10 = 1; /* Need to disable ATAPI DMA for this case */ if (!itdev->smart)