Rev 2635 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2635 | Rev 2637 | ||
---|---|---|---|
Line 88... | Line 88... | ||
88 | printf("Failed to connect to devmap as client (handle = %u).\n", |
88 | printf("Failed to connect to devmap as client (handle = %u).\n", |
89 | handle); |
89 | handle); |
90 | return -1; |
90 | return -1; |
91 | } |
91 | } |
92 | /* |
92 | /* |
93 | * device_phone = (int) IPC_GET_ARG3(answer); |
93 | * device_phone = (int) IPC_GET_ARG5(answer); |
94 | */ |
94 | */ |
95 | printf("Connected to device.\n"); |
95 | printf("Connected to device.\n"); |
96 | ipc_call_sync_1_0(device_phone, 1024, 1025); |
96 | ipc_call_sync_1_0(device_phone, 1024, 1025); |
97 | /* |
97 | /* |
98 | * ipc_hangup(device_phone); |
98 | * ipc_hangup(device_phone); |
Line 147... | Line 147... | ||
147 | return -1; |
147 | return -1; |
148 | } |
148 | } |
149 | 149 | ||
150 | async_set_client_connection(driver_client_connection); |
150 | async_set_client_connection(driver_client_connection); |
151 | 151 | ||
152 | ipc_connect_to_me(phone, 0, 0, &callback_phonehash); |
152 | ipc_connect_to_me(phone, 0, 0, 0, &callback_phonehash); |
153 | /* |
153 | /* |
154 | if (NULL == async_new_connection(callback_phonehash, 0, NULL, |
154 | if (NULL == async_new_connection(callback_phonehash, 0, NULL, |
155 | driver_client_connection)) { |
155 | driver_client_connection)) { |
156 | printf("Failed to create new fibril.\n"); |
156 | printf("Failed to create new fibril.\n"); |
157 | async_wait_for(req, NULL); |
157 | async_wait_for(req, NULL); |