Changeset 925a21e in mainline for uspace/srv/hid/input/port/adb.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/adb.c
r867e2555 r925a21e 43 43 #include <fcntl.h> 44 44 #include <errno.h> 45 #include < devmap.h>45 #include <loc.h> 46 46 47 47 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall, void *arg); … … 66 66 { 67 67 const char *dev = "adb/kbd"; 68 devmap_handle_t handle;68 service_id_t service_id; 69 69 async_exch_t *exch; 70 70 int rc; … … 72 72 kbd_dev = kdev; 73 73 74 rc = devmap_device_get_handle(dev, &handle, 0);74 rc = loc_service_get_id(dev, &service_id, 0); 75 75 if (rc != EOK) 76 76 return rc; 77 77 78 dev_sess = devmap_device_connect(EXCHANGE_ATOMIC, handle, 0);78 dev_sess = loc_service_connect(EXCHANGE_ATOMIC, service_id, 0); 79 79 if (dev_sess == NULL) { 80 80 printf("%s: Failed to connect to device\n", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.