Changeset 84afc7b in mainline for kernel/arch/amd64/src/amd64.c
- Timestamp:
- 2009-03-18T10:53:12Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e749794
- Parents:
- 8015eeec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
r8015eeec r84afc7b 66 66 #include <console/console.h> 67 67 #include <ddi/irq.h> 68 #include <ddi/device.h>69 68 #include <sysinfo/sysinfo.h> 70 69 … … 195 194 { 196 195 #ifdef CONFIG_PC_KBD 197 devno_t devno = device_assign_devno();198 199 196 /* 200 197 * Initialize the i8042 controller. Then initialize the keyboard 201 198 * module and connect it to i8042. Enable keyboard interrupts. 202 199 */ 203 indev_t *kbrdin = i8042_init((i8042_t *) I8042_BASE, devno,IRQ_KBD);200 indev_t *kbrdin = i8042_init((i8042_t *) I8042_BASE, IRQ_KBD); 204 201 if (kbrdin) { 205 202 kbrd_init(kbrdin); … … 212 209 */ 213 210 sysinfo_set_item_val("kbd", NULL, true); 214 sysinfo_set_item_val("kbd.devno", NULL, devno);215 211 sysinfo_set_item_val("kbd.inr", NULL, IRQ_KBD); 216 212 sysinfo_set_item_val("kbd.address.physical", NULL,
Note:
See TracChangeset
for help on using the changeset viewer.