Changeset 7943c43 in mainline for uspace/lib/drv/generic/driver.c
- Timestamp:
- 2012-01-16T22:45:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 32817cc, 3fe58d3c
- Parents:
- 9117ef9b (diff), 3ea725e (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/lib/drv/generic/driver.c
r9117ef9b r7943c43 198 198 pseudocode = &default_pseudocode; 199 199 200 int res = register_irq(irq, dev->handle, ctx->id, pseudocode);200 int res = irq_register(irq, dev->handle, ctx->id, pseudocode); 201 201 if (res != EOK) { 202 202 remove_interrupt_context(&interrupt_contexts, ctx); … … 211 211 interrupt_context_t *ctx = find_interrupt_context(&interrupt_contexts, 212 212 dev, irq); 213 int res = unregister_irq(irq, dev->handle);213 int res = irq_unregister(irq, dev->handle); 214 214 215 215 if (ctx != NULL) { … … 1016 1016 * incoming connections. 1017 1017 */ 1018 rc = devman_driver_register(driver->name, driver_connection); 1018 async_set_client_connection(driver_connection); 1019 rc = devman_driver_register(driver->name); 1019 1020 if (rc != EOK) { 1020 1021 printf("Error: Failed to register driver with device manager "
Note:
See TracChangeset
for help on using the changeset viewer.