Changeset 4f14e1f8 in mainline for uspace/srv/hw/bus/cuda_adb/cuda_adb.c
- Timestamp:
- 2011-01-29T12:04:43Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0b6931a
- Parents:
- 8add9ca5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/cuda_adb/cuda_adb.c
r8add9ca5 r4f14e1f8 209 209 210 210 if (dev_addr < 0) { 211 ipc_answer_0(iid, EINVAL);211 async_answer_0(iid, EINVAL); 212 212 return; 213 213 } 214 214 215 215 /* Answer the IPC_M_CONNECT_ME_TO call. */ 216 ipc_answer_0(iid, EOK);216 async_answer_0(iid, EOK); 217 217 218 218 while (1) { … … 222 222 case IPC_M_PHONE_HUNGUP: 223 223 /* The other side has hung up. */ 224 ipc_answer_0(callid, EOK);224 async_answer_0(callid, EOK); 225 225 return; 226 226 case IPC_M_CONNECT_TO_ME: … … 245 245 break; 246 246 } 247 ipc_answer_0(callid, retval);247 async_answer_0(callid, retval); 248 248 } 249 249 }
Note:
See TracChangeset
for help on using the changeset viewer.