]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ata_piix: ignore PCS on ICH5
authorTejun Heo <htejun@gmail.com>
Tue, 22 Aug 2006 12:06:46 +0000 (21:06 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 24 Aug 2006 06:51:24 +0000 (02:51 -0400)
There have been a number of reports regarding some ICH5s failing to
detect devices since the PCS handling update.  Analysis shows that
these problems are caused by bogus PCS values from those controllers.

Before the PCS update, the driver didn't honor PCS regs exactly and
probed them in many cases PCS reports no device.  Now that PCS is
honored exactly, these hardware problems are visible.

This patch makes ICH5 ignore PCS.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/ata_piix.c

index 01b3530cf6dfa1a7e039a024c5ff0b2686344daa..3b98f181335631d03061c63c9bf9fa5e42bb43d6 100644 (file)
@@ -390,7 +390,8 @@ static struct ata_port_info piix_port_info[] = {
        /* ich5_sata */
        {
                .sht            = &piix_sht,
-               .host_flags     = ATA_FLAG_SATA | PIIX_FLAG_CHECKINTR,
+               .host_flags     = ATA_FLAG_SATA | PIIX_FLAG_CHECKINTR |
+                                 PIIX_FLAG_IGNORE_PCS,
                .pio_mask       = 0x1f, /* pio0-4 */
                .mwdma_mask     = 0x07, /* mwdma0-2 */
                .udma_mask      = 0x7f, /* udma0-6 */