Changeset 4c7257b in mainline for kernel/genarch/src/kbd/i8042.c
- Timestamp:
- 2009-02-28T18:55:38Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc18d63
- Parents:
- c43b1db2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/kbd/i8042.c
rc43b1db2 r4c7257b 1 1 /* 2 * Copyright (c) 200 1-2004Jakub Jermar2 * Copyright (c) 2009 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 49 49 #include <console/console.h> 50 50 #include <interrupt.h> 51 #include <sysinfo/sysinfo.h>52 51 53 52 /* Keyboard commands. */ … … 149 148 (void) pio_read_8(&dev->data); 150 149 151 /*152 * This is the necessary evil until the userspace driver is entirely153 * self-sufficient.154 */155 sysinfo_set_item_val("kbd", NULL, true);156 sysinfo_set_item_val("kbd.devno", NULL, devno);157 sysinfo_set_item_val("kbd.inr", NULL, inr);158 #ifdef KBD_LEGACY159 sysinfo_set_item_val("kbd.type", NULL, KBD_LEGACY);160 #endif161 162 150 return true; 163 151 }
Note:
See TracChangeset
for help on using the changeset viewer.