[libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info
[deliverable/linux.git] / drivers / ata / pdc_adma.c
index 74c50c90e4d061b27d6e6ccf16db9e398b57efe9..bec1de594de8b0b4678ac49099bd6ef41a263041 100644 (file)
@@ -188,7 +188,7 @@ static struct ata_port_info adma_port_info[] = {
                                  ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO |
                                  ATA_FLAG_PIO_POLLING,
                .pio_mask       = 0x10, /* pio4 */
-               .udma_mask      = 0x1f, /* udma0-4 */
+               .udma_mask      = ATA_UDMA4,
                .port_ops       = &adma_ata_ops,
        },
 };
This page took 0.037809 seconds and 5 git commands to generate.