Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/isa.c

    rb7fd2a0 rf77c1c9  
    130130}
    131131
    132 static errno_t isa_fun_enable_interrupt(ddf_fun_t *fnode, int irq)
     132static int isa_fun_enable_interrupt(ddf_fun_t *fnode, int irq)
    133133{
    134134        isa_fun_t *fun = isa_fun(fnode);
     
    140140}
    141141
    142 static errno_t isa_fun_disable_interrupt(ddf_fun_t *fnode, int irq)
     142static int isa_fun_disable_interrupt(ddf_fun_t *fnode, int irq)
    143143{
    144144        isa_fun_t *fun = isa_fun(fnode);
     
    150150}
    151151
    152 static errno_t isa_fun_clear_interrupt(ddf_fun_t *fnode, int irq)
     152static int isa_fun_clear_interrupt(ddf_fun_t *fnode, int irq)
    153153{
    154154        isa_fun_t *fun = isa_fun(fnode);
     
    160160}
    161161
    162 static errno_t isa_fun_setup_dma(ddf_fun_t *fnode,
     162static int isa_fun_setup_dma(ddf_fun_t *fnode,
    163163    unsigned int channel, uint32_t pa, uint32_t size, uint8_t mode)
    164164{
     
    182182}
    183183
    184 static errno_t isa_fun_remain_dma(ddf_fun_t *fnode,
     184static int isa_fun_remain_dma(ddf_fun_t *fnode,
    185185    unsigned channel, size_t *size)
    186186{
     
    232232};
    233233
    234 static errno_t isa_dev_add(ddf_dev_t *dev);
    235 static errno_t isa_dev_remove(ddf_dev_t *dev);
    236 static errno_t isa_fun_online(ddf_fun_t *fun);
    237 static errno_t isa_fun_offline(ddf_fun_t *fun);
     234static int isa_dev_add(ddf_dev_t *dev);
     235static int isa_dev_remove(ddf_dev_t *dev);
     236static int isa_fun_online(ddf_fun_t *fun);
     237static int isa_fun_offline(ddf_fun_t *fun);
    238238
    239239/** The isa device driver's standard operations */
     
    277277        int fd;
    278278        size_t len;
    279         errno_t rc;
     279        int rc;
    280280        size_t nread;
    281281        struct stat st;
     
    578578            "function %s", id, score, ddf_fun_get_name(fun->fnode));
    579579
    580         errno_t rc = ddf_fun_add_match_id(fun->fnode, id, score);
     580        int rc = ddf_fun_add_match_id(fun->fnode, id, score);
    581581        if (rc != EOK) {
    582582                ddf_msg(LVL_ERROR, "Failed adding match ID: %s",
     
    698698}
    699699
    700 static errno_t isa_dev_add(ddf_dev_t *dev)
     700static int isa_dev_add(ddf_dev_t *dev)
    701701{
    702702        async_sess_t *sess;
    703         errno_t rc;
     703        int rc;
    704704
    705705        ddf_msg(LVL_DEBUG, "isa_dev_add, device handle = %d",
     
    767767}
    768768
    769 static errno_t isa_dev_remove(ddf_dev_t *dev)
     769static int isa_dev_remove(ddf_dev_t *dev)
    770770{
    771771        isa_bus_t *isa = isa_bus(dev);
     
    777777                    isa_fun_t, bus_link);
    778778
    779                 errno_t rc = ddf_fun_offline(fun->fnode);
     779                int rc = ddf_fun_offline(fun->fnode);
    780780                if (rc != EOK) {
    781781                        fibril_mutex_unlock(&isa->mutex);
     
    807807}
    808808
    809 static errno_t isa_fun_online(ddf_fun_t *fun)
     809static int isa_fun_online(ddf_fun_t *fun)
    810810{
    811811        ddf_msg(LVL_DEBUG, "isa_fun_online()");
     
    813813}
    814814
    815 static errno_t isa_fun_offline(ddf_fun_t *fun)
     815static int isa_fun_offline(ddf_fun_t *fun)
    816816{
    817817        ddf_msg(LVL_DEBUG, "isa_fun_offline()");
Note: See TracChangeset for help on using the changeset viewer.