Rev 3343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3665 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | * |
35 | * |
36 | * It takes care of low-level keyboard functions. |
36 | * It takes care of low-level keyboard functions. |
37 | */ |
37 | */ |
38 | 38 | ||
39 | #include <genarch/kbd/i8042.h> |
39 | #include <genarch/kbd/i8042.h> |
- | 40 | #ifdef ia64 |
|
- | 41 | #include <arch/drivers/kbd.h> |
|
- | 42 | #endif |
|
40 | #include <genarch/kbd/key.h> |
43 | #include <genarch/kbd/key.h> |
41 | #include <genarch/kbd/scanc.h> |
44 | #include <genarch/kbd/scanc.h> |
42 | #include <genarch/kbd/scanc_pc.h> |
45 | #include <genarch/kbd/scanc_pc.h> |
43 | #include <arch/drivers/i8042.h> |
46 | #include <arch/drivers/i8042.h> |
44 | #include <cpu.h> |
47 | #include <cpu.h> |
Line 182... | Line 185... | ||
182 | } |
185 | } |
183 | 186 | ||
184 | sysinfo_set_item_val("kbd", NULL, true); |
187 | sysinfo_set_item_val("kbd", NULL, true); |
185 | sysinfo_set_item_val("kbd.devno", NULL, kbd_devno); |
188 | sysinfo_set_item_val("kbd.devno", NULL, kbd_devno); |
186 | sysinfo_set_item_val("kbd.inr", NULL, kbd_inr); |
189 | sysinfo_set_item_val("kbd.inr", NULL, kbd_inr); |
- | 190 | #ifdef KBD_LEGACY |
|
- | 191 | sysinfo_set_item_val("kbd.type", NULL, KBD_LEGACY); |
|
187 | 192 | #endif |
|
188 | sysinfo_set_item_val("mouse", NULL, true); |
193 | sysinfo_set_item_val("mouse", NULL, true); |
189 | sysinfo_set_item_val("mouse.devno", NULL, mouse_devno); |
194 | sysinfo_set_item_val("mouse.devno", NULL, mouse_devno); |
190 | sysinfo_set_item_val("mouse.inr", NULL, mouse_inr); |
195 | sysinfo_set_item_val("mouse.inr", NULL, mouse_inr); |
191 | 196 | ||
192 | i8042_grab(); |
197 | i8042_grab(); |