Changeset 1a5b252 in mainline for uspace/drv/infrastructure/rootvirt/rootvirt.c
- Timestamp:
- 2011-08-21T11:54:15Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8cc4ddb
- Parents:
- e64df9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootvirt/rootvirt.c
re64df9a r1a5b252 63 63 64 64 static int rootvirt_add_device(ddf_dev_t *dev); 65 static int rootvirt_fun_online(ddf_fun_t *fun); 66 static int rootvirt_fun_offline(ddf_fun_t *fun); 65 67 66 68 static driver_ops_t rootvirt_ops = { 67 .add_device = &rootvirt_add_device 69 .add_device = &rootvirt_add_device, 70 .fun_online = &rootvirt_fun_online, 71 .fun_offline = &rootvirt_fun_offline 68 72 }; 69 73 … … 140 144 } 141 145 146 static int rootvirt_fun_online(ddf_fun_t *fun) 147 { 148 ddf_msg(LVL_DEBUG, "rootvirt_fun_online()"); 149 return ddf_fun_online(fun); 150 } 151 152 static int rootvirt_fun_offline(ddf_fun_t *fun) 153 { 154 ddf_msg(LVL_DEBUG, "rootvirt_fun_offline()"); 155 return ddf_fun_offline(fun); 156 } 157 142 158 int main(int argc, char *argv[]) 143 159 {
Note:
See TracChangeset
for help on using the changeset viewer.