Changeset 0b5a4131 in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2010-11-18T18:10:11Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c63e70c
Parents:
991f645
Message:

Rename device_handle_t to devman_handle_t and make it explicitly clear that
device_handle_t is a handle understood by devman.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r991f645 r0b5a4131  
    139139}
    140140
    141 static device_t * driver_get_device(link_t *devices, device_handle_t handle)
     141static device_t * driver_get_device(link_t *devices, devman_handle_t handle)
    142142{
    143143        device_t *dev = NULL;
     
    163163        int res = EOK;
    164164       
    165         device_handle_t dev_handle =  IPC_GET_ARG1(*icall);
     165        devman_handle_t dev_handle =  IPC_GET_ARG1(*icall);
    166166        device_t *dev = create_device();
    167167        dev->handle = dev_handle;
     
    221221         * the device to which the client connected.
    222222         */
    223         device_handle_t handle = IPC_GET_ARG2(*icall);
     223        devman_handle_t handle = IPC_GET_ARG2(*icall);
    224224        device_t *dev = driver_get_device(&devices, handle);
    225225
Note: See TracChangeset for help on using the changeset viewer.