diff options
Diffstat (limited to 'drivers/ata/pata_octeon_cf.c')
-rw-r--r-- | drivers/ata/pata_octeon_cf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c index 0fe4ef309c62..efe2c1985af3 100644 --- a/drivers/ata/pata_octeon_cf.c +++ b/drivers/ata/pata_octeon_cf.c | |||
@@ -871,7 +871,7 @@ static int __devinit octeon_cf_probe(struct platform_device *pdev) | |||
871 | ap->private_data = cf_port; | 871 | ap->private_data = cf_port; |
872 | cf_port->ap = ap; | 872 | cf_port->ap = ap; |
873 | ap->ops = &octeon_cf_ops; | 873 | ap->ops = &octeon_cf_ops; |
874 | ap->pio_mask = 0x7f; /* Support PIO 0-6 */ | 874 | ap->pio_mask = ATA_PIO6; |
875 | ap->flags |= ATA_FLAG_MMIO | ATA_FLAG_NO_LEGACY | 875 | ap->flags |= ATA_FLAG_MMIO | ATA_FLAG_NO_LEGACY |
876 | | ATA_FLAG_NO_ATAPI | ATA_FLAG_PIO_POLLING; | 876 | | ATA_FLAG_NO_ATAPI | ATA_FLAG_PIO_POLLING; |
877 | 877 | ||
@@ -900,7 +900,7 @@ static int __devinit octeon_cf_probe(struct platform_device *pdev) | |||
900 | ap->ioaddr.ctl_addr = cs1 + (6 << 1) + 1; | 900 | ap->ioaddr.ctl_addr = cs1 + (6 << 1) + 1; |
901 | octeon_cf_ops.sff_data_xfer = octeon_cf_data_xfer16; | 901 | octeon_cf_ops.sff_data_xfer = octeon_cf_data_xfer16; |
902 | 902 | ||
903 | ap->mwdma_mask = 0x1f; /* Support MWDMA 0-4 */ | 903 | ap->mwdma_mask = ATA_MWDMA4; |
904 | irq = platform_get_irq(pdev, 0); | 904 | irq = platform_get_irq(pdev, 0); |
905 | irq_handler = octeon_cf_interrupt; | 905 | irq_handler = octeon_cf_interrupt; |
906 | 906 | ||