Changeset 4da7d79 in mainline for uspace/srv/char/i8042/i8042.c
- Timestamp:
- 2010-01-06T20:31:42Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ef2c11
- Parents:
- d557e4f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/char/i8042/i8042.c
rd557e4f r4da7d79 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.