Rev 2635 | Rev 2660 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2635 | Rev 2637 | ||
---|---|---|---|
Line 267... | Line 267... | ||
267 | free(driver); |
267 | free(driver); |
268 | ipc_answer_0(iid, ENOTSUP); |
268 | ipc_answer_0(iid, ENOTSUP); |
269 | return; |
269 | return; |
270 | } |
270 | } |
271 | 271 | ||
272 | driver->phone = IPC_GET_ARG3(call); |
272 | driver->phone = IPC_GET_ARG5(call); |
273 | 273 | ||
274 | ipc_answer_0(callid, EOK); |
274 | ipc_answer_0(callid, EOK); |
275 | 275 | ||
276 | list_initialize(&(driver->drivers)); |
276 | list_initialize(&(driver->drivers)); |
277 | 277 | ||
Line 733... | Line 733... | ||
733 | 733 | ||
734 | /* Set a handler of incomming connections */ |
734 | /* Set a handler of incomming connections */ |
735 | async_set_client_connection(devmap_connection); |
735 | async_set_client_connection(devmap_connection); |
736 | 736 | ||
737 | /* Register device mapper at naming service */ |
737 | /* Register device mapper at naming service */ |
738 | if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAP, 0, &phonead) != 0) |
738 | if (ipc_connect_to_me(PHONE_NS, SERVICE_DEVMAP, 0, 0, &phonead) != 0) |
739 | return -1; |
739 | return -1; |
740 | 740 | ||
741 | async_manager(); |
741 | async_manager(); |
742 | /* Never reached */ |
742 | /* Never reached */ |
743 | return 0; |
743 | return 0; |