Changeset 2133e02 in mainline for uspace/lib/c/generic/devman.c
- Timestamp:
- 2015-08-18T20:14:05Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1a522e5
- Parents:
- 84dc30c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/devman.c
r84dc30c r2133e02 89 89 if (devman_driver_block_sess == NULL) 90 90 devman_driver_block_sess = 91 service_connect_blocking (EXCHANGE_PARALLEL,92 SERVICE_DEVMAN, DEVMAN_DRIVER, 0);91 service_connect_blocking_iface(EXCHANGE_PARALLEL, 92 DEVMAN_DRIVER, SERVICE_DEVMAN, 0); 93 93 } 94 94 … … 108 108 if (devman_client_block_sess == NULL) 109 109 devman_client_block_sess = 110 service_connect_blocking (EXCHANGE_SERIALIZE,111 SERVICE_DEVMAN, DEVMAN_CLIENT, 0);110 service_connect_blocking_iface(EXCHANGE_SERIALIZE, 111 DEVMAN_CLIENT, SERVICE_DEVMAN, 0); 112 112 } 113 113 … … 138 138 if (devman_driver_sess == NULL) 139 139 devman_driver_sess = 140 service_connect (EXCHANGE_PARALLEL, SERVICE_DEVMAN,141 DEVMAN_DRIVER, 0);140 service_connect_iface(EXCHANGE_PARALLEL, DEVMAN_DRIVER, 141 SERVICE_DEVMAN, 0); 142 142 143 143 fibril_mutex_unlock(&devman_driver_mutex); … … 152 152 if (devman_client_sess == NULL) 153 153 devman_client_sess = 154 service_connect (EXCHANGE_SERIALIZE, SERVICE_DEVMAN,155 DEVMAN_CLIENT, 0);154 service_connect_iface(EXCHANGE_SERIALIZE, DEVMAN_CLIENT, 155 SERVICE_DEVMAN, 0); 156 156 157 157 fibril_mutex_unlock(&devman_client_mutex); … … 293 293 294 294 if (flags & IPC_FLAG_BLOCKING) 295 sess = service_connect_blocking (mgmt, SERVICE_DEVMAN,296 DEVMAN_CONNECT_TO_DEVICE, handle);295 sess = service_connect_blocking_iface(mgmt, DEVMAN_CONNECT_TO_DEVICE, 296 SERVICE_DEVMAN, handle); 297 297 else 298 sess = service_connect (mgmt, SERVICE_DEVMAN,299 DEVMAN_CONNECT_TO_DEVICE, handle);298 sess = service_connect_iface(mgmt, DEVMAN_CONNECT_TO_DEVICE, 299 SERVICE_DEVMAN, handle); 300 300 301 301 return sess; … … 351 351 352 352 if (flags & IPC_FLAG_BLOCKING) 353 sess = service_connect_blocking (mgmt, SERVICE_DEVMAN,354 DEVMAN_CONNECT_TO_PARENTS_DEVICE, handle);353 sess = service_connect_blocking_iface(mgmt, 354 DEVMAN_CONNECT_TO_PARENTS_DEVICE, SERVICE_DEVMAN, handle); 355 355 else 356 sess = service_connect (mgmt, SERVICE_DEVMAN,357 DEVMAN_CONNECT_TO_PARENTS_DEVICE, handle);356 sess = service_connect_iface(mgmt, 357 DEVMAN_CONNECT_TO_PARENTS_DEVICE, SERVICE_DEVMAN, handle); 358 358 359 359 return sess;
Note:
See TracChangeset
for help on using the changeset viewer.