Changeset fdbc3ff in mainline for uspace/lib/drv/generic/driver.c
- Timestamp:
- 2010-11-19T23:50:06Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46d4d9f
- Parents:
- b4c9c61 (diff), a9c6b966 (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/lib/drv/generic/driver.c
rb4c9c61 rfdbc3ff 139 139 } 140 140 141 static device_t * driver_get_device(link_t *devices, dev ice_handle_t handle)141 static device_t * driver_get_device(link_t *devices, devman_handle_t handle) 142 142 { 143 143 device_t *dev = NULL; … … 163 163 int res = EOK; 164 164 165 dev ice_handle_t dev_handle = IPC_GET_ARG1(*icall);165 devman_handle_t dev_handle = IPC_GET_ARG1(*icall); 166 166 device_t *dev = create_device(); 167 167 dev->handle = dev_handle; … … 221 221 * the device to which the client connected. 222 222 */ 223 dev ice_handle_t handle = IPC_GET_ARG2(*icall);223 devman_handle_t handle = IPC_GET_ARG2(*icall); 224 224 device_t *dev = driver_get_device(&devices, handle); 225 225
Note:
See TracChangeset
for help on using the changeset viewer.