Changeset 9be360ee in mainline for uspace/srv/hid/kbd/port/z8530.c
- Timestamp:
- 2011-06-11T22:06:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f3f9659
- Parents:
- 56ad818
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/z8530.c
r56ad818 r9be360ee 46 46 #include <errno.h> 47 47 48 static kbd_dev_t *kbd_dev; 49 48 50 #define CHAN_A_STATUS 4 49 51 #define CHAN_A_DATA 6 … … 85 87 static void z8530_irq_handler(ipc_callid_t iid, ipc_call_t *call); 86 88 87 int z8530_port_init( void)89 int z8530_port_init(kbd_dev_t *kdev) 88 90 { 91 kbd_dev = kdev; 92 89 93 sysarg_t kaddr; 90 94 if (sysinfo_get_value("kbd.address.kernel", &kaddr) != EOK) … … 107 111 { 108 112 int scan_code = IPC_GET_ARG2(*call); 109 kbd_push_scancode( scan_code);113 kbd_push_scancode(kbd_dev, scan_code); 110 114 111 115 if (irc_service)
Note:
See TracChangeset
for help on using the changeset viewer.