Ignore:
File:
1 edited

Legend:

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

    r8a363ab3 ra996ae31  
    8080
    8181static irq_code_t default_pseudocode = {
     82        0,
     83        NULL,
    8284        sizeof(default_cmds) / sizeof(irq_cmd_t),
    8385        default_cmds
     
    198200                pseudocode = &default_pseudocode;
    199201       
    200         int res = register_irq(irq, dev->handle, ctx->id, pseudocode);
     202        int res = irq_register(irq, dev->handle, ctx->id, pseudocode);
    201203        if (res != EOK) {
    202204                remove_interrupt_context(&interrupt_contexts, ctx);
     
    211213        interrupt_context_t *ctx = find_interrupt_context(&interrupt_contexts,
    212214            dev, irq);
    213         int res = unregister_irq(irq, dev->handle);
     215        int res = irq_unregister(irq, dev->handle);
    214216       
    215217        if (ctx != NULL) {
     
    288290        (void) parent_fun_handle;
    289291       
    290         res = driver->driver_ops->add_device(dev);
     292        res = driver->driver_ops->dev_add(dev);
    291293       
    292294        if (res != EOK) {
     
    10161018         * incoming connections.
    10171019         */
    1018         rc = devman_driver_register(driver->name, driver_connection);
     1020        async_set_client_connection(driver_connection);
     1021        rc = devman_driver_register(driver->name);
    10191022        if (rc != EOK) {
    10201023                printf("Error: Failed to register driver with device manager "
Note: See TracChangeset for help on using the changeset viewer.