Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 82e4005 in mainline


Ignore:
Timestamp:
2012-08-17T17:01:33Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
1de97fe6
Parents:
f0241bda
Message:

isa: Rename set_* functions to add_*.

Because that's what those functions do.

File:
1 edited

Legend:

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

    rf0241bda r82e4005  
    330330}
    331331
    332 static void isa_fun_set_irq(isa_fun_t *fun, int irq)
     332static void isa_fun_add_irq(isa_fun_t *fun, int irq)
    333333{
    334334        size_t count = fun->hw_resources.count;
     
    346346}
    347347
    348 static void isa_fun_set_dma(isa_fun_t *fun, int dma)
     348static void isa_fun_add_dma(isa_fun_t *fun, int dma)
    349349{
    350350        size_t count = fun->hw_resources.count;
     
    379379}
    380380
    381 static void isa_fun_set_io_range(isa_fun_t *fun, size_t addr, size_t len)
     381static void isa_fun_add_io_range(isa_fun_t *fun, size_t addr, size_t len)
    382382{
    383383        size_t count = fun->hw_resources.count;
     
    407407
    408408        if (val != end)
    409                 isa_fun_set_irq(fun, irq);
     409                isa_fun_add_irq(fun, irq);
    410410}
    411411
     
    419419       
    420420        if (val != end)
    421                 isa_fun_set_dma(fun, dma);
     421                isa_fun_add_dma(fun, dma);
    422422}
    423423
     
    439439                return;
    440440
    441         isa_fun_set_io_range(fun, addr, len);
     441        isa_fun_add_io_range(fun, addr, len);
    442442}
    443443
Note: See TracChangeset for help on using the changeset viewer.