diff options
author | Tejun Heo <htejun@gmail.com> | 2007-05-17 13:37:12 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-17 20:57:38 -0400 |
commit | 8fd7d1b16ea0e1b3b0823ed91b58993d6c6a1cc6 (patch) | |
tree | 4885ef2ddaf3b151eb5f70d7527674634d6a4c61 | |
parent | d9aca22cf443f5ed77d15a320abbab055ae4a976 (diff) | |
download | linux-8fd7d1b16ea0e1b3b0823ed91b58993d6c6a1cc6.tar.bz2 |
sata_via: pcim_iomap_regions() conversion missed BAR5
pcim_iomap_regions() conversion missed BAR5. Fix it.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/ata/sata_via.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |