Rev 3961 | Rev 3978 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3961 | Rev 3969 | ||
|---|---|---|---|
| Line 45... | Line 45... | ||
| 45 | #include <arch/mm/page.h> |
45 | #include <arch/mm/page.h> |
| 46 | #include <arch/types.h> |
46 | #include <arch/types.h> |
| 47 | #include <align.h> |
47 | #include <align.h> |
| 48 | #include <func.h> |
48 | #include <func.h> |
| 49 | #include <print.h> |
49 | #include <print.h> |
| - | 50 | #include <sysinfo/sysinfo.h> |
|
| 50 | 51 | ||
| 51 | kbd_type_t kbd_type = KBD_UNKNOWN; |
52 | kbd_type_t kbd_type = KBD_UNKNOWN; |
| 52 | 53 | ||
| 53 | /** Initialize keyboard. |
54 | /** Initialize keyboard. |
| 54 | * |
55 | * |
| Line 113... | Line 114... | ||
| 113 | ((ofw_fhc_reg_t *) prop->value), interrupts, &inr, &cir, |
114 | ((ofw_fhc_reg_t *) prop->value), interrupts, &inr, &cir, |
| 114 | &cir_arg)) { |
115 | &cir_arg)) { |
| 115 | printf("Failed to determine keyboard interrupt.\n"); |
116 | printf("Failed to determine keyboard interrupt.\n"); |
| 116 | return; |
117 | return; |
| 117 | } |
118 | } |
| - | 119 | sysinfo_set_item_val("kbd.cir.fhc", NULL, 1); |
|
| 118 | break; |
120 | break; |
| 119 | 121 | ||
| 120 | case KBD_NS16550: |
122 | case KBD_NS16550: |
| 121 | size = ((ofw_ebus_reg_t *) prop->value)->size; |
123 | size = ((ofw_ebus_reg_t *) prop->value)->size; |
| 122 | if (!ofw_ebus_apply_ranges(node->parent, |
124 | if (!ofw_ebus_apply_ranges(node->parent, |