Changeset 4c7257b in mainline for kernel/genarch/src/kbd/z8530.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/z8530.c
rc43b1db2 r4c7257b 1 1 /* 2 * Copyright (c) 200 1-2004Jakub Jermar2 * Copyright (c) 2009 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 42 42 #include <console/console.h> 43 43 #include <console/chardev.h> 44 #include <sysinfo/sysinfo.h>45 44 #include <ddi/irq.h> 46 45 #include <arch/asm.h> … … 123 122 z8530_write(&dev->ctl_a, WR9, WR9_MIE); 124 123 125 /*126 * This is the necessary evil until the userspace drivers are entirely127 * self-sufficient.128 */129 sysinfo_set_item_val("kbd", NULL, true);130 sysinfo_set_item_val("kbd.type", NULL, KBD_Z8530);131 sysinfo_set_item_val("kbd.devno", NULL, devno);132 sysinfo_set_item_val("kbd.inr", NULL, inr);133 sysinfo_set_item_val("kbd.address.virtual", NULL, (uintptr_t) dev);134 135 124 return true; 136 125 }
Note:
See TracChangeset
for help on using the changeset viewer.