summaryrefslogtreecommitdiffstats
path: root/drkaiser.c
diff options
context:
space:
mode:
Diffstat (limited to 'drkaiser.c')
-rw-r--r--drkaiser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drkaiser.c b/drkaiser.c
index 09d8daf..0d1f250 100644
--- a/drkaiser.c
+++ b/drkaiser.c
@@ -69,10 +69,10 @@ int drkaiser_shutdown(void)
void drkaiser_chip_writeb(uint8_t val, chipaddr addr)
{
- mmio_writeb(val, drkaiser_bar + (addr & DRKAISER_MEMMAP_MASK));
+ pci_mmio_writeb(val, drkaiser_bar + (addr & DRKAISER_MEMMAP_MASK));
}
uint8_t drkaiser_chip_readb(const chipaddr addr)
{
- return mmio_readb(drkaiser_bar + (addr & DRKAISER_MEMMAP_MASK));
+ return pci_mmio_readb(drkaiser_bar + (addr & DRKAISER_MEMMAP_MASK));
}
OpenPOWER on IntegriCloud