Changeset ff381a7 in mainline for uspace/srv/hid/input/ctl/kbdev.c
- Timestamp:
- 2015-11-02T20:54:19Z (8 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/ctl/kbdev.c
r3feeab2 rff381a7 94 94 static int kbdev_ctl_init(kbd_dev_t *kdev) 95 95 { 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); 98 98 if (sess == NULL) { 99 99 printf("%s: Failed starting session with '%s.'\n", NAME, … … 120 120 } 121 121 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 123 126 if (rc != EOK) { 124 127 printf("%s: Failed creating callback connection from '%s'.\n",
Note:
See TracChangeset
for help on using the changeset viewer.