Skip to content

Commit f3745a3

Browse files
htejunJeff Garzik
authored andcommitted
[PATCH] ata_piix: ignore PCS on ICH5
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 <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
1 parent f1a58ec commit f3745a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/scsi/ata_piix.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@ static struct ata_port_info piix_port_info[] = {
390390
/* ich5_sata */
391391
{
392392
.sht = &piix_sht,
393-
.host_flags = ATA_FLAG_SATA | PIIX_FLAG_CHECKINTR,
393+
.host_flags = ATA_FLAG_SATA | PIIX_FLAG_CHECKINTR |
394+
PIIX_FLAG_IGNORE_PCS,
394395
.pio_mask = 0x1f, /* pio0-4 */
395396
.mwdma_mask = 0x07, /* mwdma0-2 */
396397
.udma_mask = 0x7f, /* udma0-6 */

0 commit comments

Comments
 (0)