]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sata_via: pcim_iomap_regions() conversion missed BAR5
authorTejun Heo <htejun@gmail.com>
Thu, 17 May 2007 11:37:12 +0000 (13:37 +0200)
committerJeff Garzik <jeff@garzik.org>
Fri, 18 May 2007 00:57:38 +0000 (20:57 -0400)
pcim_iomap_regions() conversion missed BAR5.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_via.c

index d105d2c189d26547b7098bf88fb5e3ce72809745..ac4f43c4993fa6dcfbfeb2285ad472bc8e205f87 100644 (file)
@@ -441,7 +441,7 @@ static int vt6421_prepare_host(struct pci_dev *pdev, struct ata_host **r_host)
                return -ENOMEM;
        }
 
-       rc = pcim_iomap_regions(pdev, 0x1f, DRV_NAME);
+       rc = pcim_iomap_regions(pdev, 0x3f, DRV_NAME);
        if (rc) {
                dev_printk(KERN_ERR, &pdev->dev, "failed to request/iomap "
                           "PCI BARs (errno=%d)\n", rc);