Changes in uspace/srv/hw/char/i8042/i8042.c [228e490:991f645] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/i8042/i8042.c
r228e490 r991f645 46 46 #include <stdio.h> 47 47 #include <errno.h> 48 #include <inttypes.h>49 48 50 49 #include "i8042.h" … … 202 201 ipc_register_irq(inr_a, device_assign_devno(), 0, &i8042_kbd); 203 202 ipc_register_irq(inr_b, device_assign_devno(), 0, &i8042_kbd); 204 printf("%s: registered for interrupts %" PRIun " and %" PRIun "\n", 205 NAME, inr_a, inr_b); 203 printf("%s: registered for interrupts %d and %d\n", NAME, inr_a, inr_b); 206 204 207 205 wait_ready(); … … 219 217 ipc_callid_t callid; 220 218 ipc_call_t call; 221 sysarg_t method;219 ipcarg_t method; 222 220 devmap_handle_t dh; 223 221 int retval; … … 248 246 while (1) { 249 247 callid = async_get_call(&call); 250 method = IPC_GET_ IMETHOD(call);248 method = IPC_GET_METHOD(call); 251 249 switch (method) { 252 250 case IPC_M_PHONE_HUNGUP: … … 264 262 break; 265 263 case IPC_FIRST_USER_METHOD: 266 printf(NAME ": write % " PRIun "to devid %d\n",264 printf(NAME ": write %d to devid %d\n", 267 265 IPC_GET_ARG1(call), dev_id); 268 266 i8042_port_write(dev_id, IPC_GET_ARG1(call));
Note:
See TracChangeset
for help on using the changeset viewer.