summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2004-10-14 18:10:29 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2004-10-14 18:10:29 -0400
commit8a3f059acaf38f8d4e71f824ac3c794ea5f21fe1 (patch)
tree9269f01fa7b68ed09a58cac587bb928d739eb252
parentf58934909e85fedc8f1f144d25071953c0014dee (diff)
[libata piix] Fix PATA UDMA masks
piix_pata_cbl_detect() handles cable detection just fine. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--drivers/scsi/ata_piix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c
index be5bfe5fddfb..c4dc4f978287 100644
--- a/drivers/scsi/ata_piix.c
+++ b/drivers/scsi/ata_piix.c
@@ -184,7 +184,7 @@ static struct ata_port_info piix_port_info[] = {
#else
.mwdma_mask = 0x00, /* mwdma broken */
#endif
- .udma_mask = ATA_UDMA_MASK_40C, /* FIXME: cbl det */
+ .udma_mask = 0x3f, /* udma0-5 */
.port_ops = &piix_pata_ops,
},
@@ -209,7 +209,7 @@ static struct ata_port_info piix_port_info[] = {
#else
.mwdma_mask = 0x00, /* mwdma broken */
#endif
- .udma_mask = ATA_UDMA_MASK_40C, /* FIXME: cbl det */
+ .udma_mask = ATA_UDMA_MASK_40C,
.port_ops = &piix_pata_ops,
},
@@ -252,7 +252,7 @@ MODULE_DEVICE_TABLE(pci, piix_pci_tbl);
* piix_pata_cbl_detect - Probe host controller cable detect info
* @ap: Port for which cable detect info is desired
*
- * Read 80c cable indicator from SATA PCI device's PCI config
+ * Read 80c cable indicator from ATA PCI device's PCI config
* register. This register is normally set by firmware (BIOS).
*
* LOCKING: