Changeset 1433ecda in mainline for uspace/drv/char/msim-con/main.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/msim-con/main.c
r47b2d7e3 r1433ecda 103 103 errno_t rc; 104 104 105 105 ddf_msg(LVL_DEBUG, "msim_con_dev_add(%p)", dev); 106 106 107 107 msim_con = ddf_dev_data_alloc(dev, sizeof(msim_con_t)); … … 124 124 static errno_t msim_con_dev_remove(ddf_dev_t *dev) 125 125 { 126 126 msim_con_t *msim_con = (msim_con_t *)ddf_dev_data_get(dev); 127 127 128 128 ddf_msg(LVL_DEBUG, "msim_con_dev_remove(%p)", dev); 129 129 130 130 return msim_con_remove(msim_con); 131 131 } 132 132 133 133 static errno_t msim_con_dev_gone(ddf_dev_t *dev) 134 134 { 135 135 msim_con_t *msim_con = (msim_con_t *)ddf_dev_data_get(dev); 136 136 137 137 ddf_msg(LVL_DEBUG, "msim_con_dev_gone(%p)", dev); 138 138 139 139 return msim_con_gone(msim_con); 140 140 } 141 141 142 142 static errno_t msim_con_fun_online(ddf_fun_t *fun) 143 143 { 144 145 144 ddf_msg(LVL_DEBUG, "msim_con_fun_online()"); 145 return ddf_fun_online(fun); 146 146 } 147 147 148 148 static errno_t msim_con_fun_offline(ddf_fun_t *fun) 149 149 { 150 151 150 ddf_msg(LVL_DEBUG, "msim_con_fun_offline()"); 151 return ddf_fun_offline(fun); 152 152 } 153 153
Note:
See TracChangeset
for help on using the changeset viewer.