Changes in uspace/lib/drv/generic/driver.c [a996ae31:8a363ab3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
ra996ae31 r8a363ab3 80 80 81 81 static irq_code_t default_pseudocode = { 82 0,83 NULL,84 82 sizeof(default_cmds) / sizeof(irq_cmd_t), 85 83 default_cmds … … 200 198 pseudocode = &default_pseudocode; 201 199 202 int res = irq_register(irq, dev->handle, ctx->id, pseudocode);200 int res = register_irq(irq, dev->handle, ctx->id, pseudocode); 203 201 if (res != EOK) { 204 202 remove_interrupt_context(&interrupt_contexts, ctx); … … 213 211 interrupt_context_t *ctx = find_interrupt_context(&interrupt_contexts, 214 212 dev, irq); 215 int res = irq_unregister(irq, dev->handle);213 int res = unregister_irq(irq, dev->handle); 216 214 217 215 if (ctx != NULL) { … … 290 288 (void) parent_fun_handle; 291 289 292 res = driver->driver_ops-> dev_add(dev);290 res = driver->driver_ops->add_device(dev); 293 291 294 292 if (res != EOK) { … … 1018 1016 * incoming connections. 1019 1017 */ 1020 async_set_client_connection(driver_connection); 1021 rc = devman_driver_register(driver->name); 1018 rc = devman_driver_register(driver->name, driver_connection); 1022 1019 if (rc != EOK) { 1023 1020 printf("Error: Failed to register driver with device manager "
Note:
See TracChangeset
for help on using the changeset viewer.