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