Changeset 228e490 in mainline for uspace/srv/devman/main.c
- Timestamp:
- 2010-12-14T17:00:02Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9b6bec, eb221e5
- Parents:
- dd8d5a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
rdd8d5a7 r228e490 74 74 75 75 iid = async_get_call(&icall); 76 if (IPC_GET_ METHOD(icall) != DEVMAN_DRIVER_REGISTER) {76 if (IPC_GET_IMETHOD(icall) != DEVMAN_DRIVER_REGISTER) { 77 77 ipc_answer_0(iid, EREFUSED); 78 78 return NULL; … … 109 109 ipc_call_t call; 110 110 ipc_callid_t callid = async_get_call(&call); 111 if (IPC_GET_ METHOD(call) != IPC_M_CONNECT_TO_ME) {111 if (IPC_GET_IMETHOD(call) != IPC_M_CONNECT_TO_ME) { 112 112 ipc_answer_0(callid, ENOTSUP); 113 113 ipc_answer_0(iid, ENOTSUP); … … 141 141 142 142 callid = async_get_call(&call); 143 if (DEVMAN_ADD_MATCH_ID != IPC_GET_ METHOD(call)) {143 if (DEVMAN_ADD_MATCH_ID != IPC_GET_IMETHOD(call)) { 144 144 printf(NAME ": ERROR: devman_receive_match_id - invalid " 145 145 "protocol.\n"); … … 367 367 callid = async_get_call(&call); 368 368 369 switch (IPC_GET_ METHOD(call)) {369 switch (IPC_GET_IMETHOD(call)) { 370 370 case IPC_M_PHONE_HUNGUP: 371 371 cont = false; … … 420 420 ipc_callid_t callid = async_get_call(&call); 421 421 422 switch (IPC_GET_ METHOD(call)) {422 switch (IPC_GET_IMETHOD(call)) { 423 423 case IPC_M_PHONE_HUNGUP: 424 424 cont = false; … … 486 486 static void devman_connection_devmapper(ipc_callid_t iid, ipc_call_t *icall) 487 487 { 488 devmap_handle_t devmap_handle = IPC_GET_ METHOD(*icall);488 devmap_handle_t devmap_handle = IPC_GET_IMETHOD(*icall); 489 489 node_t *dev; 490 490 … … 521 521 * passes device handle to the driver as an ipc method.) 522 522 */ 523 if (IPC_GET_ METHOD(*icall) != IPC_M_CONNECT_ME_TO)523 if (IPC_GET_IMETHOD(*icall) != IPC_M_CONNECT_ME_TO) 524 524 devman_connection_devmapper(iid, icall); 525 525
Note:
See TracChangeset
for help on using the changeset viewer.