]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ata/sata_inic162x.c
V4L/DVB (10356): gspca - sonixj: Cleanup code.
[linux-2.6-omap-h63xx.git] / drivers / ata / sata_inic162x.c
index fbbd87c96f102d9fc6c11abf5529bbd5d6eba67e..305a4f825f538ce8eaafd7a861971330081a0bb2 100644 (file)
@@ -744,8 +744,8 @@ static struct ata_port_operations inic_port_ops = {
 
 static struct ata_port_info inic_port_info = {
        .flags                  = ATA_FLAG_SATA | ATA_FLAG_PIO_DMA,
-       .pio_mask               = 0x1f, /* pio0-4 */
-       .mwdma_mask             = 0x07, /* mwdma0-2 */
+       .pio_mask               = ATA_PIO4,
+       .mwdma_mask             = ATA_MWDMA2,
        .udma_mask              = ATA_UDMA6,
        .port_ops               = &inic_port_ops
 };