mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-21 05:29:33 +07:00
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>
This commit is contained in:
parent
d9aca22cf4
commit
8fd7d1b16e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user