mirror of
https://github.com/ipxe/ipxe
synced 2026-01-10 06:48:47 +03:00
[pci] Update drivers to use pci_ioremap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1837,7 +1837,7 @@ static int phantom_map_crb ( struct phantom_nic *phantom,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
phantom->bar0 = ioremap ( bar0_start, bar0_size );
|
||||
phantom->bar0 = pci_ioremap ( pci, bar0_start, bar0_size );
|
||||
if ( ! phantom->bar0 ) {
|
||||
DBGC ( phantom, "Phantom %p could not map BAR0\n", phantom );
|
||||
return -EIO;
|
||||
|
||||
Reference in New Issue
Block a user