Changes in kernel/arch/sparc64/src/drivers/kbd.c [b2fa1204:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/kbd.c
rb2fa1204 r9d58539 44 44 #include <align.h> 45 45 #include <str.h> 46 #include < log.h>46 #include <print.h> 47 47 #include <sysinfo/sysinfo.h> 48 48 … … 71 71 ofw_tree_property_t *prop = ofw_tree_getprop(node, "interrupts"); 72 72 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"); 75 74 return false; 76 75 } … … 83 82 prop = ofw_tree_getprop(node, "reg"); 84 83 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"); 87 85 return false; 88 86 } … … 93 91 if (!ofw_ebus_apply_ranges(node->parent, 94 92 ((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"); 97 94 return false; 98 95 } … … 104 101 ((ofw_ebus_reg_t *) prop->value), interrupts, &inr, &cir, 105 102 &cir_arg)) { 106 log(LF_ARCH, LVL_ERROR, 107 "ns16550: Failed to determine interrupt"); 103 printf("ns16550: Failed to determine interrupt\n"); 108 104 return false; 109 105 } … … 121 117 PAGE_WRITE | PAGE_NOT_CACHEABLE) + offset); 122 118 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); 125 120 if (ns16550_instance) { 126 121 kbrd_instance_t *kbrd_instance = kbrd_init();
Note:
See TracChangeset
for help on using the changeset viewer.