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