Changeset 8565a42 in mainline for uspace/srv/devman/devman.h


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (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.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

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

    r3061bc1 r8565a42  
    6868        /** Handle */
    6969        devman_handle_t handle;
    70        
     70
    7171        /**
    7272         * Specifies whether the driver has been started and wheter is running
     
    7474         */
    7575        driver_state_t state;
    76        
     76
    7777        /** Session asociated with this driver. */
    7878        async_sess_t *sess;
     
    8585        /** List of devices controlled by this driver. */
    8686        list_t devices;
    87        
     87
    8888        /**
    8989         * Fibril mutex for this driver - driver state, list of devices, session.
     
    116116        /** Reference count */
    117117        atomic_t refcnt;
    118        
     118
    119119        /** The global unique identifier of the device. */
    120120        devman_handle_t handle;
    121        
     121
    122122        /** (Parent) function the device is attached to. */
    123123        fun_node_t *pfun;
    124        
     124
    125125        /** List of device functions. */
    126126        list_t functions;
     
    131131        /** Link to list of devices owned by driver (driver_t.devices) */
    132132        link_t driver_devices;
    133        
     133
    134134        /**
    135135         * Used by the hash table of devices indexed by devman device handles.
    136136         */
    137137        ht_link_t devman_dev;
    138        
     138
    139139        /**
    140140         * Whether this device was already passed to the driver.
     
    160160        /** Locked while performing reconfiguration operations */
    161161        fibril_mutex_t busy_lock;
    162        
     162
    163163        /** The global unique identifier of the function */
    164164        devman_handle_t handle;
     
    167167        /** Function type */
    168168        fun_type_t ftype;
    169        
     169
    170170        /** Full path and name of the device in device hierarchy */
    171171        char *pathname;
    172        
     172
    173173        /** Device which this function belongs to */
    174174        dev_node_t *dev;
    175        
     175
    176176        /** Link to list of functions in the device (ddf_dev_t.functions) */
    177177        link_t dev_functions;
    178        
     178
    179179        /** Child device node (if any attached). */
    180180        dev_node_t *child;
    181181        /** List of device ids for device-to-driver matching. */
    182182        match_id_list_t match_ids;
    183        
     183
    184184        /** Service ID if the device function is registered with loc. */
    185185        service_id_t service_id;
    186        
     186
    187187        /**
    188188         * Used by the hash table of functions indexed by devman device handles.
    189189         */
    190190        ht_link_t devman_fun;
    191        
     191
    192192        /**
    193193         * Used by the hash table of functions indexed by service IDs.
     
    200200        /** Root device node. */
    201201        fun_node_t *root_node;
    202        
     202
    203203        /**
    204204         * The next available handle - handles are assigned in a sequential
     
    206206         */
    207207        devman_handle_t current_handle;
    208        
     208
    209209        /** Synchronize access to the device tree. */
    210210        fibril_rwlock_t rwlock;
    211        
     211
    212212        /** Hash table of all devices indexed by devman handles. */
    213213        hash_table_t devman_devices;
    214        
     214
    215215        /** Hash table of all devices indexed by devman handles. */
    216216        hash_table_t devman_functions;
    217        
     217
    218218        /**
    219219         * Hash table of services registered with location service, indexed by
Note: See TracChangeset for help on using the changeset viewer.