Rev 1842 | Rev 1849 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1842 | Rev 1844 | ||
|---|---|---|---|
| Line 34... | Line 34... | ||
| 34 | 34 | ||
| 35 | #include <arch/drivers/kbd.h> |
35 | #include <arch/drivers/kbd.h> |
| 36 | #ifdef CONFIG_Z8530 |
36 | #ifdef CONFIG_Z8530 |
| 37 | #include <genarch/kbd/z8530.h> |
37 | #include <genarch/kbd/z8530.h> |
| 38 | #endif |
38 | #endif |
| 39 | #ifdef CONFIG_16650A |
39 | #ifdef CONFIG_NS16550 |
| 40 | #include <genarch/kbd/16650a.h> |
40 | #include <genarch/kbd/ns16550.h> |
| 41 | #endif |
41 | #endif |
| 42 | 42 | ||
| 43 | #include <arch/boot/boot.h> |
43 | #include <arch/boot/boot.h> |
| 44 | #include <arch/mm/page.h> |
44 | #include <arch/mm/page.h> |
| 45 | #include <arch/types.h> |
45 | #include <arch/types.h> |
| Line 67... | Line 67... | ||
| 67 | kbd_virt_address = (uint8_t *) hw_map(aligned_addr, offset + bootinfo.keyboard.size) + offset; |
67 | kbd_virt_address = (uint8_t *) hw_map(aligned_addr, offset + bootinfo.keyboard.size) + offset; |
| 68 | 68 | ||
| 69 | #ifdef CONFIG_Z8530 |
69 | #ifdef CONFIG_Z8530 |
| 70 | z8530_init(); |
70 | z8530_init(); |
| 71 | #endif |
71 | #endif |
| 72 | #ifdef CONFIG_16650A |
72 | #ifdef CONFIG_NS16550 |
| 73 | 16650A_init(); |
73 | ns16550_init(); |
| 74 | #endif |
74 | #endif |
| 75 | } |
75 | } |
| 76 | 76 | ||
| 77 | /** @} |
77 | /** @} |
| 78 | */ |
78 | */ |