Changeset 87b4baa in mainline for uspace/lib/drv/generic/driver.c
- Timestamp:
- 2010-12-17T20:16:46Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 424558a
- Parents:
- 463e734 (diff), bbc74af7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r463e734 r87b4baa 81 81 static void driver_irq_handler(ipc_callid_t iid, ipc_call_t *icall) 82 82 { 83 int id = (int)IPC_GET_ METHOD(*icall);83 int id = (int)IPC_GET_IMETHOD(*icall); 84 84 interrupt_context_t *ctx; 85 85 … … 200 200 ipc_callid_t callid = async_get_call(&call); 201 201 202 switch (IPC_GET_ METHOD(call)) {202 switch (IPC_GET_IMETHOD(call)) { 203 203 case IPC_M_PHONE_HUNGUP: 204 204 cont = false; … … 254 254 ipc_call_t call; 255 255 callid = async_get_call(&call); 256 ipcarg_t method = IPC_GET_METHOD(call);256 sysarg_t method = IPC_GET_IMETHOD(call); 257 257 int iface_idx; 258 258 … … 308 308 309 309 /* get the method of the remote interface */ 310 ipcarg_t iface_method_idx = IPC_GET_ARG1(call);310 sysarg_t iface_method_idx = IPC_GET_ARG1(call); 311 311 remote_iface_func_ptr_t iface_method_ptr = 312 312 get_remote_method(rem_iface, iface_method_idx); … … 346 346 { 347 347 /* Select interface */ 348 switch (( ipcarg_t) (IPC_GET_ARG1(*icall))) {348 switch ((sysarg_t) (IPC_GET_ARG1(*icall))) { 349 349 case DRIVER_DEVMAN: 350 350 /* handle PnP events from device manager */ … … 418 418 goto failure; 419 419 420 goto leave;420 return EOK; 421 421 422 422 failure: … … 431 431 } 432 432 433 leave:434 433 return rc; 435 434 }
Note:
See TracChangeset
for help on using the changeset viewer.