Index: uspace/srv/hid/input/port/niagara.c
===================================================================
--- uspace/srv/hid/input/port/niagara.c	(revision 071fefec5f0bb65ab129bc513b289e3e9d6700df)
+++ uspace/srv/hid/input/port/niagara.c	(revision 8b9ce3395ac7523f59b9bc4a4151d67c3fc5618b)
@@ -74,11 +74,8 @@
 	uint64_t read_ptr;
 	char data[INPUT_BUFFER_SIZE];
-}
-	__attribute__ ((packed))
-	__attribute__ ((aligned(PAGE_SIZE)))
-	*input_buffer_t;
+} __attribute__((packed)) __attribute__((aligned(PAGE_SIZE))) *input_buffer_t;
 
 /* virtual address of the shared buffer */
-static input_buffer_t input_buffer;
+static input_buffer_t input_buffer = (input_buffer_t) AS_AREA_ANY;
 
 static volatile bool polling_disabled = false;
@@ -87,5 +84,5 @@
 /**
  * Initializes the Niagara driver.
- * Maps the shared buffer and creates the polling thread. 
+ * Maps the shared buffer and creates the polling thread.
  */
 static int niagara_port_init(kbd_dev_t *kdev)
Index: uspace/srv/hid/output/port/ega.c
===================================================================
--- uspace/srv/hid/output/port/ega.c	(revision 071fefec5f0bb65ab129bc513b289e3e9d6700df)
+++ uspace/srv/hid/output/port/ega.c	(revision 8b9ce3395ac7523f59b9bc4a4151d67c3fc5618b)
@@ -215,4 +215,5 @@
 	
 	ega.size = (ega.cols * ega.rows) << 1;
+	ega.addr = AS_AREA_ANY;
 	
 	rc = physmem_map(paddr,
Index: uspace/srv/hid/output/port/kchar.c
===================================================================
--- uspace/srv/hid/output/port/kchar.c	(revision 071fefec5f0bb65ab129bc513b289e3e9d6700df)
+++ uspace/srv/hid/output/port/kchar.c	(revision 8b9ce3395ac7523f59b9bc4a4151d67c3fc5618b)
@@ -84,4 +84,6 @@
 		return rc;
 	
+	kchar.addr = AS_AREA_ANY;
+	
 	rc = physmem_map(paddr,
 	    ALIGN_UP(1, PAGE_SIZE) >> PAGE_WIDTH,
Index: uspace/srv/hid/output/port/niagara.c
===================================================================
--- uspace/srv/hid/output/port/niagara.c	(revision 071fefec5f0bb65ab129bc513b289e3e9d6700df)
+++ uspace/srv/hid/output/port/niagara.c	(revision 8b9ce3395ac7523f59b9bc4a4151d67c3fc5618b)
@@ -104,4 +104,6 @@
 		return rc;
 	
+	niagara.fifo = (output_fifo_t *) AS_AREA_ANY;
+	
 	rc = physmem_map(paddr, 1, AS_AREA_READ | AS_AREA_WRITE,
 	    (void *) &niagara.fifo);
