Changeset a1b7e80 in mainline for uspace/drv/infrastructure/rootvirt/rootvirt.c
- Timestamp:
- 2011-09-02T16:54:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f480d7e
- Parents:
- 7a72ce1a (diff), 224c0e7 (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
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootvirt/rootvirt.c
r7a72ce1a ra1b7e80 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.