mirror of
https://github.com/ipxe/ipxe
synced 2026-03-16 03:02:07 +03:00
[pci] Update drivers to use pci_ioremap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -321,7 +321,7 @@ int virtio_pci_map_capability(struct pci_device *pci, int cap, size_t minlen,
|
||||
region->flags = VIRTIO_PCI_REGION_PORT;
|
||||
} else {
|
||||
/* Region mapped into memory space */
|
||||
region->base = ioremap(base + offset, length);
|
||||
region->base = pci_ioremap(pci, base + offset, length);
|
||||
region->flags = VIRTIO_PCI_REGION_MEMORY;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user