Changeset 925a21e in mainline for uspace/srv/hid/input/port/chardev_mouse.c
- Timestamp:
- 2011-09-24T14:20:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5bf76c1
- Parents:
- 867e2555 (diff), 1ab4aca (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/port/chardev_mouse.c
r867e2555 r925a21e 39 39 #include <async.h> 40 40 #include <errno.h> 41 #include < devmap.h>41 #include <loc.h> 42 42 #include <input.h> 43 43 #include <mouse_port.h> … … 82 82 static int chardev_port_init(mouse_dev_t *mdev) 83 83 { 84 devmap_handle_t handle;84 service_id_t service_id; 85 85 unsigned int i; 86 86 int rc; … … 89 89 90 90 for (i = 0; i < num_devs; i++) { 91 rc = devmap_device_get_handle(in_devs[i], &handle, 0);91 rc = loc_service_get_id(in_devs[i], &service_id, 0); 92 92 if (rc == EOK) 93 93 break; … … 99 99 } 100 100 101 dev_sess = devmap_device_connect(EXCHANGE_ATOMIC, handle,101 dev_sess = loc_service_connect(EXCHANGE_ATOMIC, service_id, 102 102 IPC_FLAG_BLOCKING); 103 103 if (dev_sess == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.