Changeset 16dc887 in mainline for uspace/srv/hid/input/port/adb_mouse.c
- Timestamp:
- 2011-08-16T14:00:32Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 278ac72, b112055
- Parents:
- 3751a08 (diff), cc574511 (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/adb_mouse.c
r3751a08 r16dc887 41 41 #include <mouse.h> 42 42 #include <errno.h> 43 #include < devmap.h>43 #include <loc.h> 44 44 45 45 static mouse_dev_t *mouse_dev; … … 78 78 mouse_dev = mdev; 79 79 80 devmap_handle_t handle;81 int rc = devmap_device_get_handle(dev, &handle, 0);80 service_id_t service_id; 81 int rc = loc_service_get_id(dev, &service_id, 0); 82 82 if (rc != EOK) 83 83 return rc; 84 84 85 dev_sess = devmap_device_connect(EXCHANGE_ATOMIC, handle, 0);85 dev_sess = loc_service_connect(EXCHANGE_ATOMIC, service_id, 0); 86 86 if (dev_sess == NULL) { 87 87 printf("%s: Failed to connect to device\n", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.