PCI: Convert constant missed in prior commit.
This commit is contained in:
@@ -70,7 +70,7 @@ get_io_port_address(int ioPort)
|
|||||||
pci_resource_range range;
|
pci_resource_range range;
|
||||||
uint8 *mappedAdr;
|
uint8 *mappedAdr;
|
||||||
|
|
||||||
if (gPCI->LookupRange(kPciRangeIoPort, ioPort, domain, range, &mappedAdr) < B_OK)
|
if (gPCI->LookupRange(B_IO_PORT, ioPort, domain, range, &mappedAdr) < B_OK)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
return mappedAdr + ioPort;
|
return mappedAdr + ioPort;
|
||||||
|
|||||||
Reference in New Issue
Block a user