Changeset 0b5a4131 in mainline for uspace/lib/drv/generic/driver.c
- Timestamp:
- 2010-11-18T18:10:11Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c63e70c
- Parents:
- 991f645
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r991f645 r0b5a4131 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.