Changeset b688fd8 in mainline for uspace/lib/drv/generic
- Timestamp:
- 2015-08-17T18:54:56Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- abf2dfd
- Parents:
- b10460a
- Location:
- uspace/lib/drv/generic
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
rb10460a rb688fd8 916 916 * This allows handling connections the non-devman way. 917 917 */ 918 void ddf_fun_set_conn_handler(ddf_fun_t *fun, async_ client_conn_t conn)918 void ddf_fun_set_conn_handler(ddf_fun_t *fun, async_port_handler_t conn) 919 919 { 920 920 assert(fun->ops == NULL); … … 955 955 * incoming connections. 956 956 */ 957 async_set_ client_connection(driver_connection);957 async_set_fallback_port_handler(driver_connection, NULL); 958 958 int rc = devman_driver_register(driver->name); 959 959 if (rc != EOK) { -
uspace/lib/drv/generic/private/driver.h
rb10460a rb688fd8 96 96 97 97 /** Connection handler or @c NULL to use the DDF default handler. */ 98 async_ client_conn_t conn_handler;98 async_port_handler_t conn_handler; 99 99 100 100 /** Link in the list of functions handled by the driver */ -
uspace/lib/drv/generic/remote_audio_pcm.c
rb10460a rb688fd8 316 316 */ 317 317 int audio_pcm_register_event_callback(audio_pcm_sess_t *sess, 318 async_ client_conn_t event_callback, void *arg)318 async_port_handler_t event_callback, void *arg) 319 319 { 320 320 if (!event_callback) -
uspace/lib/drv/generic/remote_nic.c
rb10460a rb688fd8 126 126 * 127 127 */ 128 int nic_callback_create(async_sess_t *dev_sess, async_ client_conn_t cfun,128 int nic_callback_create(async_sess_t *dev_sess, async_port_handler_t cfun, 129 129 void *carg) 130 130 {
Note:
See TracChangeset
for help on using the changeset viewer.