Changeset b688fd8 in mainline for uspace/srv/hid


Ignore:
Timestamp:
2015-08-17T18:54:56Z (10 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.

Location:
uspace/srv/hid
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/compositor/compositor.c

    rb10460a rb688fd8  
    22402240       
    22412241        /* Register compositor server. */
    2242         async_set_client_connection(client_connection);
     2242        async_set_fallback_port_handler(client_connection, NULL);
    22432243       
    22442244        int rc = loc_server_register(NAME);
  • uspace/srv/hid/console/console.c

    rb10460a rb688fd8  
    586586       
    587587        /* Register server */
    588         async_set_client_connection(client_connection);
     588        async_set_fallback_port_handler(client_connection, NULL);
    589589        rc = loc_server_register(NAME);
    590590        if (rc != EOK) {
  • uspace/srv/hid/input/input.c

    rb10460a rb688fd8  
    758758        async_set_client_data_constructor(client_data_create);
    759759        async_set_client_data_destructor(client_data_destroy);
    760         async_set_client_connection(client_connection);
     760        async_set_fallback_port_handler(client_connection, NULL);
    761761       
    762762        int rc = loc_server_register(NAME);
  • uspace/srv/hid/isdv4_tablet/main.c

    rb10460a rb688fd8  
    306306        fibril_add_ready(fibril);
    307307
    308         async_set_client_connection(mouse_connection);
     308        async_set_fallback_port_handler(mouse_connection, NULL);
    309309        rc = loc_server_register(NAME);
    310310        if (rc != EOK) {
  • uspace/srv/hid/output/output.c

    rb10460a rb688fd8  
    460460       
    461461        /* Register server */
    462         async_set_client_connection(client_connection);
     462        async_set_fallback_port_handler(client_connection, NULL);
    463463        int rc = loc_server_register(NAME);
    464464        if (rc != EOK) {
  • uspace/srv/hid/remcons/remcons.c

    rb10460a rb688fd8  
    348348        inet_ep_t ep;
    349349
    350         async_set_client_connection(client_connection);
     350        async_set_fallback_port_handler(client_connection, NULL);
    351351        rc = loc_server_register(NAME);
    352352        if (rc != EOK) {
  • uspace/srv/hid/rfb/main.c

    rb10460a rb688fd8  
    215215        vis->dev_ctx = NULL;
    216216
    217         async_set_client_connection(client_connection);
     217        async_set_fallback_port_handler(client_connection, NULL);
    218218
    219219        int rc = loc_server_register(NAME);
  • uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c

    rb10460a rb688fd8  
    8585        printf("%s: S3C24xx touchscreen driver\n", NAME);
    8686       
    87         async_set_client_connection(s3c24xx_ts_connection);
     87        async_set_fallback_port_handler(s3c24xx_ts_connection, NULL);
    8888        int rc = loc_server_register(NAME);
    8989        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.