Changeset 1433ecda in mainline for uspace/drv/char/sun4v-con
- Timestamp:
- 2018-04-04T15:42:37Z (8 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/sun4v-con/main.c
r47b2d7e3 r1433ecda 94 94 errno_t rc; 95 95 96 96 ddf_msg(LVL_DEBUG, "sun4v_con_dev_add(%p)", dev); 97 97 sun4v_con = ddf_dev_data_alloc(dev, sizeof(sun4v_con_t)); 98 98 if (sun4v_con == NULL) { … … 114 114 static errno_t sun4v_con_dev_remove(ddf_dev_t *dev) 115 115 { 116 116 sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev); 117 117 118 118 ddf_msg(LVL_DEBUG, "sun4v_con_dev_remove(%p)", dev); 119 119 120 120 return sun4v_con_remove(sun4v_con); 121 121 } 122 122 123 123 static errno_t sun4v_con_dev_gone(ddf_dev_t *dev) 124 124 { 125 125 sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev); 126 126 127 127 ddf_msg(LVL_DEBUG, "sun4v_con_dev_gone(%p)", dev); 128 128 129 129 return sun4v_con_gone(sun4v_con); 130 130 } 131 131 132 132 static errno_t sun4v_con_fun_online(ddf_fun_t *fun) 133 133 { 134 135 134 ddf_msg(LVL_DEBUG, "sun4v_con_fun_online()"); 135 return ddf_fun_online(fun); 136 136 } 137 137 138 138 static errno_t sun4v_con_fun_offline(ddf_fun_t *fun) 139 139 { 140 141 140 ddf_msg(LVL_DEBUG, "sun4v_con_fun_offline()"); 141 return ddf_fun_offline(fun); 142 142 } 143 143
Note:
See TracChangeset
for help on using the changeset viewer.