Index: uspace/drv/intctl/obio/obio.c
===================================================================
--- uspace/drv/intctl/obio/obio.c	(revision 0a0b3d8186ab2de41ca7f9edbee0a8debf6d19fd)
+++ uspace/drv/intctl/obio/obio.c	(revision e8f9bf03cbfc288a4244bd14a7eea0b11f1cb917)
@@ -118,15 +118,8 @@
 {
 	ddf_fun_t *fun_a = NULL;
-	int flags;
-	int retval;
 	int rc;
 
-	flags = AS_AREA_READ | AS_AREA_WRITE;
-	obio->regs = (ioport64_t *)AS_AREA_ANY;
-	retval = physmem_map(res->base,
-	    ALIGN_UP(OBIO_SIZE, PAGE_SIZE) >> PAGE_WIDTH, flags,
-	    (void *) &obio->regs);
-
-	if (retval < 0) {
+	rc = pio_enable((void *)res->base, OBIO_SIZE, (void **) &obio->regs);
+	if (rc != EOK) {
 		ddf_msg(LVL_ERROR, "Error mapping OBIO registers");
 		rc = EIO;
