Changeset 96b02eb9 in mainline for uspace/lib/c/generic/devman.c
- Timestamp:
- 2010-12-14T12:52:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b10dab
- Parents:
- 554debd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/devman.c
r554debd r96b02eb9 95 95 aid_t req = async_send_2(phone, DEVMAN_DRIVER_REGISTER, 0, 0, &answer); 96 96 97 ipcarg_t retval = async_data_write_start(phone, name, str_size(name));97 sysarg_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 ipcarg_t callback_phonehash;106 sysarg_t callback_phonehash; 107 107 ipc_connect_to_me(phone, 0, 0, 0, &callback_phonehash); 108 108 async_wait_for(req, &retval); … … 155 155 aid_t req = async_send_2(phone, DEVMAN_ADD_CHILD_DEVICE, parent_handle, match_count, &answer); 156 156 157 ipcarg_t retval = async_data_write_start(phone, name, str_size(name));157 sysarg_t retval = async_data_write_start(phone, name, str_size(name)); 158 158 if (retval != EOK) { 159 159 async_wait_for(req, NULL); … … 192 192 aid_t req = async_send_1(phone, DEVMAN_ADD_DEVICE_TO_CLASS, devman_handle, &answer); 193 193 194 ipcarg_t retval = async_data_write_start(phone, class_name, str_size(class_name));194 sysarg_t retval = async_data_write_start(phone, class_name, str_size(class_name)); 195 195 if (retval != EOK) { 196 196 async_wait_for(req, NULL); … … 268 268 &answer); 269 269 270 ipcarg_t retval = async_data_write_start(phone, pathname, str_size(pathname));270 sysarg_t retval = async_data_write_start(phone, pathname, str_size(pathname)); 271 271 if (retval != EOK) { 272 272 async_wait_for(req, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.