Changeset 8ff0bd2 in mainline for uspace/drv/infrastructure/root/root.c
- Timestamp:
- 2011-09-04T11:30:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 03bc76a
- Parents:
- d2c67e7 (diff), deac215e (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 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/root/root.c
rd2c67e7 r8ff0bd2 67 67 68 68 static int root_add_device(ddf_dev_t *dev); 69 static int root_fun_online(ddf_fun_t *fun); 70 static int root_fun_offline(ddf_fun_t *fun); 69 71 70 72 /** The root device driver's standard operations. */ 71 73 static driver_ops_t root_ops = { 72 .add_device = &root_add_device 74 .add_device = &root_add_device, 75 .fun_online = &root_fun_online, 76 .fun_offline = &root_fun_offline 73 77 }; 74 78 … … 175 179 return rc; 176 180 } 181 182 free(match_id); 177 183 178 184 rc = ddf_fun_bind(fun); … … 212 218 } 213 219 220 static int root_fun_online(ddf_fun_t *fun) 221 { 222 ddf_msg(LVL_DEBUG, "root_fun_online()"); 223 return ddf_fun_online(fun); 224 } 225 226 static int root_fun_offline(ddf_fun_t *fun) 227 { 228 ddf_msg(LVL_DEBUG, "root_fun_offline()"); 229 return ddf_fun_offline(fun); 230 } 231 214 232 int main(int argc, char *argv[]) 215 233 {
Note:
See TracChangeset
for help on using the changeset viewer.