Changeset 84afc7b in mainline for kernel/arch/ia64/src/ia64.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/ia64/src/ia64.c
r8015eeec r84afc7b 51 51 #include <syscall/syscall.h> 52 52 #include <ddi/irq.h> 53 #include <ddi/device.h>54 53 #include <arch/bootinfo.h> 55 54 #include <genarch/drivers/legacy/ia32/io.h> … … 163 162 164 163 #ifdef CONFIG_NS16550 165 devno_t devno_ns16550 = device_assign_devno();166 164 indev_t *kbrdin_ns16550 167 = ns16550_init((ns16550_t *) NS16550_BASE, devno_ns16550,NS16550_IRQ, NULL, NULL);165 = ns16550_init((ns16550_t *) NS16550_BASE, NS16550_IRQ, NULL, NULL); 168 166 if (kbrdin_ns16550) 169 167 srln_init(kbrdin_ns16550); 170 168 171 169 sysinfo_set_item_val("kbd", NULL, true); 172 sysinfo_set_item_val("kbd.devno", NULL, devno_ns16550);173 170 sysinfo_set_item_val("kbd.inr", NULL, NS16550_IRQ); 174 171 sysinfo_set_item_val("kbd.type", NULL, KBD_NS16550); … … 180 177 181 178 #ifdef CONFIG_I8042 182 devno_t devno_i8042 = device_assign_devno(); 183 indev_t *kbrdin_i8042 = i8042_init((i8042_t *) I8042_BASE, devno_i8042, IRQ_KBD); 179 indev_t *kbrdin_i8042 = i8042_init((i8042_t *) I8042_BASE, IRQ_KBD); 184 180 if (kbrdin_i8042) 185 181 kbrd_init(kbrdin_i8042); 186 182 187 183 sysinfo_set_item_val("kbd", NULL, true); 188 sysinfo_set_item_val("kbd.devno", NULL, devno_i8042);189 184 sysinfo_set_item_val("kbd.inr", NULL, IRQ_KBD); 190 185 sysinfo_set_item_val("kbd.type", NULL, KBD_LEGACY);
Note:
See TracChangeset
for help on using the changeset viewer.