diff options
| author | Michael Brown | 2020-09-24 22:45:03 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-09-25 15:17:07 +0200 |
| commit | eecb75ba4809bd5d3e6d63413a45c5fccbda2bc2 (patch) | |
| tree | dcb9379c726dd4a02566c6866803fa45d7ee0649 /src/drivers/net/phantom | |
| parent | [pci] Define pci_ioremap() for mapping PCI bus addresses (diff) | |
| download | ipxe-eecb75ba4809bd5d3e6d63413a45c5fccbda2bc2.tar.gz ipxe-eecb75ba4809bd5d3e6d63413a45c5fccbda2bc2.tar.xz ipxe-eecb75ba4809bd5d3e6d63413a45c5fccbda2bc2.zip | |
[pci] Update drivers to use pci_ioremap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/phantom')
| -rw-r--r-- | src/drivers/net/phantom/phantom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/phantom/phantom.c b/src/drivers/net/phantom/phantom.c index 781049ff4..8f247ff8e 100644 --- a/src/drivers/net/phantom/phantom.c +++ b/src/drivers/net/phantom/phantom.c @@ -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; |
