Changeset 3f0a7971 in mainline for uspace/srv/devman/devman.c


Ignore:
Timestamp:
2010-11-18T22:34:23Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63b4f90
Parents:
c7137738 (diff), 45f04f8 (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.
Message:

Merge mainline changes

Updated srv/hw/bus/usb/hcd/virtual to use new type names (devmap_handle_t).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.c

    rc7137738 r3f0a7971  
    5252{
    5353        node_t *dev = hash_table_get_instance(item, node_t, devman_link);
    54         return (dev->handle == (device_handle_t) key[0]);
     54        return (dev->handle == (devman_handle_t) key[0]);
    5555}
    5656
     
    5959{
    6060        node_t *dev = hash_table_get_instance(item, node_t, devmap_link);
    61         return (dev->devmap_handle == (dev_handle_t) key[0]);
     61        return (dev->devmap_handle == (devmap_handle_t) key[0]);
    6262}
    6363
     
    782782 * @return              The device node.
    783783 */
    784 node_t *find_dev_node_no_lock(dev_tree_t *tree, device_handle_t handle)
     784node_t *find_dev_node_no_lock(dev_tree_t *tree, devman_handle_t handle)
    785785{
    786786        unsigned long key = handle;
     
    795795 * @return              The device node.
    796796 */
    797 node_t *find_dev_node(dev_tree_t *tree, device_handle_t handle)
     797node_t *find_dev_node(dev_tree_t *tree, devman_handle_t handle)
    798798{
    799799        node_t *node = NULL;
     
    11061106/* Devmap devices */
    11071107
    1108 node_t *find_devmap_tree_device(dev_tree_t *tree, dev_handle_t devmap_handle)
     1108node_t *find_devmap_tree_device(dev_tree_t *tree, devmap_handle_t devmap_handle)
    11091109{
    11101110        node_t *dev = NULL;
     
    11221122
    11231123node_t *find_devmap_class_device(class_list_t *classes,
    1124     dev_handle_t devmap_handle)
     1124    devmap_handle_t devmap_handle)
    11251125{
    11261126        node_t *dev = NULL;
Note: See TracChangeset for help on using the changeset viewer.