]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/ata/pata_cs5535.c
Merge branch 'core/percpu' into percpu-cpumask-x86-for-linus-2
[mv-sheeva.git] / drivers / ata / pata_cs5535.c
index 1b2d4a0f5f743c14b01dbd0f4b9af20d4abef2fb..d33aa28239a93e39e07179cea995bbc5038590ec 100644 (file)
@@ -72,7 +72,6 @@
 /**
  *     cs5535_cable_detect     -       detect cable type
  *     @ap: Port to detect on
- *     @deadline: deadline jiffies for the operation
  *
  *     Perform cable detection for ATA66 capable cable. Return a libata
  *     cable type.
@@ -182,8 +181,8 @@ static int cs5535_init_one(struct pci_dev *dev, const struct pci_device_id *id)
 {
        static const struct ata_port_info info = {
                .flags = ATA_FLAG_SLAVE_POSS,
-               .pio_mask = 0x1f,
-               .mwdma_mask = 0x07,
+               .pio_mask = ATA_PIO4,
+               .mwdma_mask = ATA_MWDMA2,
                .udma_mask = ATA_UDMA4,
                .port_ops = &cs5535_port_ops
        };