/trunk/kernel/arch/sparc64/src/drivers/fhc.c |
---|
45,6 → 45,7 |
#include <mm/slab.h> |
#include <arch/types.h> |
#include <genarch/ofw/ofw_tree.h> |
#include <sysinfo/sysinfo.h> |
fhc_t *central_fhc = NULL; |
86,6 → 87,12 |
fhc->uart_imap = (uint32_t *) hw_map(paddr, reg->size); |
/* |
* Set sysinfo data needed by the uspace FHC driver. |
*/ |
sysinfo_set_item_val("fhc.uart.size", NULL, reg->size); |
sysinfo_set_item_val("fhc.uart.physical", NULL, paddr); |
return fhc; |
} |
/trunk/kernel/arch/sparc64/src/drivers/kbd.c |
---|
47,6 → 47,7 |
#include <align.h> |
#include <func.h> |
#include <print.h> |
#include <sysinfo/sysinfo.h> |
kbd_type_t kbd_type = KBD_UNKNOWN; |
115,6 → 116,7 |
printf("Failed to determine keyboard interrupt.\n"); |
return; |
} |
sysinfo_set_item_val("kbd.cir.fhc", NULL, 1); |
break; |
case KBD_NS16550: |