]> err.no Git - linux-2.6/blobdiff - drivers/ata/pata_cs5520.c
libata: eliminate the home grown dma padding in favour of
[linux-2.6] / drivers / ata / pata_cs5520.c
index d4590f546c497c7aa2ae2a365bc1d2a0232b4bff..7ed279b0a12edb90af54c013261cfadf88a8d5c1 100644 (file)
@@ -229,7 +229,7 @@ static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_devi
                return -ENOMEM;
 
        /* Perform set up for DMA */
-       if (pci_enable_device_bars(pdev, 1<<2)) {
+       if (pci_enable_device_io(pdev)) {
                printk(KERN_ERR DRV_NAME ": unable to configure BAR2.\n");
                return -ENODEV;
        }