Changeset 9754ed2 in mainline for uspace/drv/char/i8042/i8042.c
- Timestamp:
- 2021-12-22T20:47:11Z (2 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 59768c7
- Parents:
- dbc1398
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/i8042/i8042.c
rdbc1398 r9754ed2 2 2 * Copyright (c) 2001-2004 Jakub Jermar 3 3 * Copyright (c) 2006 Josef Cejka 4 * Copyright (c) 20 17Jiri Svoboda4 * Copyright (c) 2021 Jiri Svoboda 5 5 * Copyright (c) 2011 Jan Vesely 6 6 * All rights reserved. … … 146 146 fibril_mutex_unlock(&port->buf_lock); 147 147 fibril_condvar_broadcast(&port->buf_cv); 148 149 async_sess_t *parent_sess = ddf_dev_parent_sess_get(dev); 150 hw_res_clear_interrupt(parent_sess, port->irq); 148 151 } 149 152 … … 202 205 dev->kbd->cds.ops = &i8042_chardev_ops; 203 206 dev->kbd->cds.sarg = dev->kbd; 207 dev->kbd->irq = irq_kbd; 204 208 fibril_mutex_initialize(&dev->kbd->buf_lock); 205 209 fibril_condvar_initialize(&dev->kbd->buf_cv); … … 226 230 dev->aux->cds.ops = &i8042_chardev_ops; 227 231 dev->aux->cds.sarg = dev->aux; 232 dev->aux->irq = irq_mouse; 228 233 fibril_mutex_initialize(&dev->aux->buf_lock); 229 234 fibril_condvar_initialize(&dev->aux->buf_cv);
Note:
See TracChangeset
for help on using the changeset viewer.