Changes in uspace/lib/c/generic/devman.c [96b02eb9:0b5a4131] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/devman.c
r96b02eb9 r0b5a4131 95 95 aid_t req = async_send_2(phone, DEVMAN_DRIVER_REGISTER, 0, 0, &answer); 96 96 97 sysarg_t retval = async_data_write_start(phone, name, str_size(name));97 ipcarg_t retval = async_data_write_start(phone, name, str_size(name)); 98 98 if (retval != EOK) { 99 99 async_wait_for(req, NULL); … … 104 104 async_set_client_connection(conn); 105 105 106 sysarg_t callback_phonehash;106 ipcarg_t callback_phonehash; 107 107 ipc_connect_to_me(phone, 0, 0, 0, &callback_phonehash); 108 108 async_wait_for(req, &retval); … … 116 116 { 117 117 ipc_call_t answer; 118 a id_t req = async_send_1(phone, DEVMAN_ADD_MATCH_ID, match_id->score, &answer);118 async_send_1(phone, DEVMAN_ADD_MATCH_ID, match_id->score, &answer); 119 119 int retval = async_data_write_start(phone, match_id->id, str_size(match_id->id)); 120 async_wait_for(req, NULL); 121 return retval; 120 return retval; 122 121 } 123 122 … … 155 154 aid_t req = async_send_2(phone, DEVMAN_ADD_CHILD_DEVICE, parent_handle, match_count, &answer); 156 155 157 sysarg_t retval = async_data_write_start(phone, name, str_size(name));156 ipcarg_t retval = async_data_write_start(phone, name, str_size(name)); 158 157 if (retval != EOK) { 159 158 async_wait_for(req, NULL); … … 192 191 aid_t req = async_send_1(phone, DEVMAN_ADD_DEVICE_TO_CLASS, devman_handle, &answer); 193 192 194 sysarg_t retval = async_data_write_start(phone, class_name, str_size(class_name));193 ipcarg_t retval = async_data_write_start(phone, class_name, str_size(class_name)); 195 194 if (retval != EOK) { 196 195 async_wait_for(req, NULL); … … 268 267 &answer); 269 268 270 sysarg_t retval = async_data_write_start(phone, pathname, str_size(pathname));269 ipcarg_t retval = async_data_write_start(phone, pathname, str_size(pathname)); 271 270 if (retval != EOK) { 272 271 async_wait_for(req, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.