Changeset ff381a7 in mainline for uspace/srv/hid/input/proto/mousedev.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/proto/mousedev.c
r3feeab2 rff381a7 118 118 static int mousedev_proto_init(mouse_dev_t *mdev) 119 119 { 120 async_sess_t *sess = loc_service_connect(EXCHANGE_SERIALIZE, 121 mdev->svc_id, 0); 120 async_sess_t *sess = loc_service_connect(mdev->svc_id, INTERFACE_DDF, 0); 122 121 if (sess == NULL) { 123 122 printf("%s: Failed starting session with '%s'\n", NAME, … … 143 142 } 144 143 145 int rc = async_connect_to_me(exch, 0, 0, 0, mousedev_callback_conn, mousedev); 144 port_id_t port; 145 int rc = async_create_callback_port(exch, INTERFACE_MOUSE_CB, 0, 0, 146 mousedev_callback_conn, mousedev, &port); 147 146 148 async_exchange_end(exch); 147 149 async_hangup(sess);
Note:
See TracChangeset
for help on using the changeset viewer.