Changeset b688fd8 in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2015-08-17T18:54:56Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
abf2dfd
Parents:
b10460a
Message:

gradually introduce async ports, initial phase

The initial phase is to reimplement the traditional async client connections as an untyped fallback port. This creates the possibility to introduce ports typed by interface type gradually in later changesets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    rb10460a rb688fd8  
    916916 * This allows handling connections the non-devman way.
    917917 */
    918 void ddf_fun_set_conn_handler(ddf_fun_t *fun, async_client_conn_t conn)
     918void ddf_fun_set_conn_handler(ddf_fun_t *fun, async_port_handler_t conn)
    919919{
    920920        assert(fun->ops == NULL);
     
    955955         * incoming connections.
    956956         */
    957         async_set_client_connection(driver_connection);
     957        async_set_fallback_port_handler(driver_connection, NULL);
    958958        int rc = devman_driver_register(driver->name);
    959959        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.