Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6
[deliverable/linux.git] / drivers / ide / pci / cs5520.c
index 9e01c6dc758eb6c0d898e22a523283d3392f6a8d..eb68a9ad0c98b26efd9db4672826cf9a569ca445 100644 (file)
@@ -156,8 +156,14 @@ static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_devic
        ide_setup_pci_noise(dev, d);
 
        /* We must not grab the entire device, it has 'ISA' space in its
-          BARS too and we will freak out other bits of the kernel */
-       if (pci_enable_device_bars(dev, 1<<2)) {
+        * BARS too and we will freak out other bits of the kernel
+        *
+        * pci_enable_device_bars() is going away. I replaced it with
+        * IO only enable for now but I'll need confirmation this is
+        * allright for that device. If not, it will need some kind of
+        * quirk. --BenH.
+        */
+       if (pci_enable_device_io(dev)) {
                printk(KERN_WARNING "%s: Unable to enable 55x0.\n", d->name);
                return -ENODEV;
        }
This page took 0.023667 seconds and 5 git commands to generate.