Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/kbd.c

    rb2fa1204 r9d58539  
    4444#include <align.h>
    4545#include <str.h>
    46 #include <log.h>
     46#include <print.h>
    4747#include <sysinfo/sysinfo.h>
    4848
     
    7171        ofw_tree_property_t *prop = ofw_tree_getprop(node, "interrupts");
    7272        if ((!prop) || (!prop->value)) {
    73                 log(LF_ARCH, LVL_ERROR,
    74                     "ns16550: Unable to find interrupts property");
     73                printf("ns16550: Unable to find interrupts property\n");
    7574                return false;
    7675        }
     
    8382        prop = ofw_tree_getprop(node, "reg");
    8483        if ((!prop) || (!prop->value)) {
    85                 log(LF_ARCH, LVL_ERROR,
    86                     "ns16550: Unable to find reg property");
     84                printf("ns16550: Unable to find reg property\n");
    8785                return false;
    8886        }
     
    9391        if (!ofw_ebus_apply_ranges(node->parent,
    9492            ((ofw_ebus_reg_t *) prop->value), &pa)) {
    95                 log(LF_ARCH, LVL_ERROR,
    96                     "ns16550: Failed to determine address");
     93                printf("ns16550: Failed to determine address\n");
    9794                return false;
    9895        }
     
    104101            ((ofw_ebus_reg_t *) prop->value), interrupts, &inr, &cir,
    105102            &cir_arg)) {
    106                 log(LF_ARCH, LVL_ERROR,
    107                     "ns16550: Failed to determine interrupt");
     103                printf("ns16550: Failed to determine interrupt\n");
    108104                return false;
    109105        }
     
    121117            PAGE_WRITE | PAGE_NOT_CACHEABLE) + offset);
    122118       
    123         ns16550_instance_t *ns16550_instance = ns16550_init(ns16550, inr, cir,
    124             cir_arg, NULL);
     119        ns16550_instance_t *ns16550_instance = ns16550_init(ns16550, inr, cir, cir_arg);
    125120        if (ns16550_instance) {
    126121                kbrd_instance_t *kbrd_instance = kbrd_init();
Note: See TracChangeset for help on using the changeset viewer.