Changes in uspace/lib/c/generic/devman.c [1a5b252:422722e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/devman.c
r1a5b252 r422722e 327 327 } 328 328 329 int devman_drv_fun_online(devman_handle_t funh)330 {331 async_exch_t *exch = devman_exchange_begin(DEVMAN_DRIVER);332 if (exch == NULL)333 return ENOMEM;334 335 sysarg_t retval = async_req_1_0(exch, DEVMAN_DRV_FUN_ONLINE, funh);336 337 devman_exchange_end(exch);338 return (int) retval;339 }340 341 int devman_drv_fun_offline(devman_handle_t funh)342 {343 async_exch_t *exch = devman_exchange_begin(DEVMAN_DRIVER);344 if (exch == NULL)345 return ENOMEM;346 347 sysarg_t retval = async_req_1_0(exch, DEVMAN_DRV_FUN_OFFLINE, funh);348 349 devman_exchange_end(exch);350 return (int) retval;351 }352 353 329 async_sess_t *devman_parent_device_connect(exch_mgmt_t mgmt, 354 330 devman_handle_t handle, unsigned int flags) … … 454 430 } 455 431 456 int devman_fun_online(devman_handle_t funh)457 {458 async_exch_t *exch = devman_exchange_begin(DEVMAN_CLIENT);459 if (exch == NULL)460 return ENOMEM;461 462 sysarg_t retval = async_req_1_0(exch, DEVMAN_FUN_ONLINE, funh);463 464 devman_exchange_end(exch);465 return (int) retval;466 }467 468 int devman_fun_offline(devman_handle_t funh)469 {470 async_exch_t *exch = devman_exchange_begin(DEVMAN_CLIENT);471 if (exch == NULL)472 return ENOMEM;473 474 sysarg_t retval = async_req_1_0(exch, DEVMAN_FUN_OFFLINE, funh);475 476 devman_exchange_end(exch);477 return (int) retval;478 }479 480 432 static int devman_get_handles_once(sysarg_t method, sysarg_t arg1, 481 433 devman_handle_t *handle_buf, size_t buf_size, size_t *act_size)
Note:
See TracChangeset
for help on using the changeset viewer.