[pci] Update drivers to use pci_ioremap()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -731,7 +731,7 @@ static int velocity_probe ( struct pci_device *pci ) {
|
||||
adjust_pci_device ( pci );
|
||||
|
||||
/* Map registers */
|
||||
vlc->regs = ioremap ( pci->membase, VELOCITY_BAR_SIZE );
|
||||
vlc->regs = pci_ioremap ( pci, pci->membase, VELOCITY_BAR_SIZE );
|
||||
vlc->netdev = netdev;
|
||||
|
||||
/* Reset the NIC */
|
||||
|
||||
Reference in New Issue
Block a user