From: Tejun Heo Date: Thu, 17 May 2007 11:37:12 +0000 (+0200) Subject: sata_via: pcim_iomap_regions() conversion missed BAR5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8fd7d1b16ea0e1b3b0823ed91b58993d6c6a1cc6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sata_via: pcim_iomap_regions() conversion missed BAR5 pcim_iomap_regions() conversion missed BAR5. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index d105d2c189d2..ac4f43c4993f 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c @@ -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);