Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    ra996ae31 r8a363ab3  
    8080
    8181static irq_code_t default_pseudocode = {
    82         0,
    83         NULL,
    8482        sizeof(default_cmds) / sizeof(irq_cmd_t),
    8583        default_cmds
     
    200198                pseudocode = &default_pseudocode;
    201199       
    202         int res = irq_register(irq, dev->handle, ctx->id, pseudocode);
     200        int res = register_irq(irq, dev->handle, ctx->id, pseudocode);
    203201        if (res != EOK) {
    204202                remove_interrupt_context(&interrupt_contexts, ctx);
     
    213211        interrupt_context_t *ctx = find_interrupt_context(&interrupt_contexts,
    214212            dev, irq);
    215         int res = irq_unregister(irq, dev->handle);
     213        int res = unregister_irq(irq, dev->handle);
    216214       
    217215        if (ctx != NULL) {
     
    290288        (void) parent_fun_handle;
    291289       
    292         res = driver->driver_ops->dev_add(dev);
     290        res = driver->driver_ops->add_device(dev);
    293291       
    294292        if (res != EOK) {
     
    10181016         * incoming connections.
    10191017         */
    1020         async_set_client_connection(driver_connection);
    1021         rc = devman_driver_register(driver->name);
     1018        rc = devman_driver_register(driver->name, driver_connection);
    10221019        if (rc != EOK) {
    10231020                printf("Error: Failed to register driver with device manager "
Note: See TracChangeset for help on using the changeset viewer.