Changeset b9cc81c6 in mainline for uspace/drv/char/pc-lpt/main.c
- Timestamp:
- 2025-03-06T17:35:07Z (3 days ago)
- Branches:
- master
- Children:
- 797ab95
- Parents:
- 870841cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/pc-lpt/main.c
r870841cf rb9cc81c6 1 1 /* 2 * Copyright (c) 20 18Jiri Svoboda2 * Copyright (c) 2025 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 46 46 static errno_t pc_lpt_dev_remove(ddf_dev_t *dev); 47 47 static errno_t pc_lpt_dev_gone(ddf_dev_t *dev); 48 static errno_t pc_lpt_dev_quiesce(ddf_dev_t *dev); 48 49 static errno_t pc_lpt_fun_online(ddf_fun_t *fun); 49 50 static errno_t pc_lpt_fun_offline(ddf_fun_t *fun); … … 53 54 .dev_remove = pc_lpt_dev_remove, 54 55 .dev_gone = pc_lpt_dev_gone, 56 .dev_quiesce = pc_lpt_dev_quiesce, 55 57 .fun_online = pc_lpt_fun_online, 56 58 .fun_offline = pc_lpt_fun_offline … … 140 142 } 141 143 144 static errno_t pc_lpt_dev_quiesce(ddf_dev_t *dev) 145 { 146 pc_lpt_t *pc_lpt = (pc_lpt_t *)ddf_dev_data_get(dev); 147 148 ddf_msg(LVL_DEBUG, "pc_lpt_dev_quiesce(%p)", dev); 149 150 pc_lpt_quiesce(pc_lpt); 151 return EOK; 152 } 153 142 154 static errno_t pc_lpt_fun_online(ddf_fun_t *fun) 143 155 {
Note:
See TracChangeset
for help on using the changeset viewer.