Changeset affaf2e in mainline for uspace/srv/devman/devman.c
- Timestamp:
- 2012-08-15T15:13:20Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b546231
- Parents:
- f66ca57f (diff), 135486d (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
 
 - 
          
  uspace/srv/devman/devman.c (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      uspace/srv/devman/devman.crf66ca57f raffaf2e 1052 1052 } 1053 1053 1054 1055 1054 /** Find the device node structure of the device witch has the specified handle. 1056 1055 * … … 1142 1141 fun->state = FUN_INIT; 1143 1142 atomic_set(&fun->refcnt, 0); 1143 fibril_mutex_initialize(&fun->busy_lock); 1144 1144 link_initialize(&fun->dev_functions); 1145 1145 list_initialize(&fun->match_ids.ids); … … 1184 1184 if (atomic_predec(&fun->refcnt) == 0) 1185 1185 delete_fun_node(fun); 1186 } 1187 1188 /** Make function busy for reconfiguration operations. */ 1189 void fun_busy_lock(fun_node_t *fun) 1190 { 1191 fibril_mutex_lock(&fun->busy_lock); 1192 } 1193 1194 /** Mark end of reconfiguration operation. */ 1195 void fun_busy_unlock(fun_node_t *fun) 1196 { 1197 fibril_mutex_unlock(&fun->busy_lock); 1186 1198 } 1187 1199 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
