Changeset ff381a7 in mainline for uspace/srv/hid/input/ctl/kbdev.c


Ignore:
Timestamp:
2015-11-02T20:54:19Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8513177
Parents:
3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/ctl/kbdev.c

    r3feeab2 rff381a7  
    9494static int kbdev_ctl_init(kbd_dev_t *kdev)
    9595{
    96         async_sess_t *sess = loc_service_connect(EXCHANGE_SERIALIZE,
    97             kdev->svc_id, 0);
     96        async_sess_t *sess = loc_service_connect(kdev->svc_id,
     97            INTERFACE_DDF, 0);
    9898        if (sess == NULL) {
    9999                printf("%s: Failed starting session with '%s.'\n", NAME,
     
    120120        }
    121121       
    122         int rc = async_connect_to_me(exch, 0, 0, 0, kbdev_callback_conn, kbdev);
     122        port_id_t port;
     123        int rc = async_create_callback_port(exch, INTERFACE_KBD_CB, 0, 0,
     124            kbdev_callback_conn, kbdev, &port);
     125       
    123126        if (rc != EOK) {
    124127                printf("%s: Failed creating callback connection from '%s'.\n",
Note: See TracChangeset for help on using the changeset viewer.