Changeset 84afc7b in mainline for kernel/arch/mips32/src/mips32.c
- Timestamp:
- 2009-03-18T10:53:12Z (15 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/mips32/src/mips32.c
r8015eeec r84afc7b 57 57 #include <genarch/srln/srln.h> 58 58 #include <macros.h> 59 #include <ddi/device.h>60 59 #include <config.h> 61 60 #include <string.h> … … 167 166 { 168 167 #ifdef CONFIG_MIPS_KBD 169 devno_t devno = device_assign_devno();170 171 168 /* 172 169 * Initialize the msim/GXemul keyboard port. Then initialize the serial line 173 170 * module and connect it to the msim/GXemul keyboard. Enable keyboard interrupts. 174 171 */ 175 indev_t *kbrdin = dsrlnin_init((dsrlnin_t *) MSIM_KBD_ADDRESS, devno,MSIM_KBD_IRQ);172 indev_t *kbrdin = dsrlnin_init((dsrlnin_t *) MSIM_KBD_ADDRESS, MSIM_KBD_IRQ); 176 173 if (kbrdin) { 177 174 srln_init(kbrdin); … … 184 181 */ 185 182 sysinfo_set_item_val("kbd", NULL, true); 186 sysinfo_set_item_val("kbd.devno", NULL, devno);187 183 sysinfo_set_item_val("kbd.inr", NULL, MSIM_KBD_IRQ); 188 184 sysinfo_set_item_val("kbd.address.virtual", NULL, MSIM_KBD_ADDRESS);
Note:
See TracChangeset
for help on using the changeset viewer.