PCI: Convert constant missed in prior commit.

This commit is contained in:
Augustin Cavalier 2024-01-15 15:24:58 -05:00
parent fabb71cc0e
commit e5e1f48bf5

View File

@ -70,7 +70,7 @@ get_io_port_address(int ioPort)
pci_resource_range range;
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 mappedAdr + ioPort;