Changes in / [23efd30:6ef2c11] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/i8042/i8042.c
r23efd30 r6ef2c11 208 208 static void i8042_connection(ipc_callid_t iid, ipc_call_t *icall) 209 209 { 210 void *fs_va = NULL;211 210 ipc_callid_t callid; 212 211 ipc_call_t call; 213 212 ipcarg_t method; 214 213 dev_handle_t dh; 215 int flags;216 214 int retval; 217 size_t cnt;218 215 int dev_id, i; 219 216 … … 225 222 /* Determine which disk device is the client connecting to. */ 226 223 dev_id = -1; 227 for (i = 0; i < MAX_DEVS; i++) 224 for (i = 0; i < MAX_DEVS; i++) { 228 225 if (i8042_port[i].dev_handle == dh) 229 226 dev_id = i; 230 231 if (dev_id < 0/* || disk[dev_id].present == false*/) { 227 } 228 229 if (dev_id < 0) { 232 230 ipc_answer_0(iid, EINVAL); 233 231 return;
Note:
See TracChangeset
for help on using the changeset viewer.