Changeset 903bac0a in mainline for uspace/srv/hid/input/port/adb_mouse.c
- Timestamp:
- 2011-08-19T09:00:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2ab36f1
- Parents:
- d894fbd (diff), 42a619b (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
rd894fbd r903bac0a 41 41 #include <mouse.h> 42 42 #include <errno.h> 43 #include < devmap.h>43 #include <loc.h> 44 44 #include <stdio.h> 45 45 … … 79 79 mouse_dev = mdev; 80 80 81 devmap_handle_t handle;82 int rc = devmap_device_get_handle(dev, &handle, 0);81 service_id_t service_id; 82 int rc = loc_service_get_id(dev, &service_id, 0); 83 83 if (rc != EOK) 84 84 return rc; 85 85 86 dev_sess = devmap_device_connect(EXCHANGE_ATOMIC, handle, 0);86 dev_sess = loc_service_connect(EXCHANGE_ATOMIC, service_id, 0); 87 87 if (dev_sess == NULL) { 88 88 printf("%s: Failed to connect to device\n", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.