Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified uspace/drv/bus/pci/pciintel/pci.c

    rd5c1051 rb7fd2a0  
    114114}
    115115
    116 static int pciintel_enable_interrupt(ddf_fun_t *fnode, int irq)
     116static errno_t pciintel_enable_interrupt(ddf_fun_t *fnode, int irq)
    117117{
    118118        pci_fun_t *fun = pci_fun(fnode);
     
    124124}
    125125
    126 static int pciintel_disable_interrupt(ddf_fun_t *fnode, int irq)
     126static errno_t pciintel_disable_interrupt(ddf_fun_t *fnode, int irq)
    127127{
    128128        pci_fun_t *fun = pci_fun(fnode);
     
    134134}
    135135
    136 static int pciintel_clear_interrupt(ddf_fun_t *fnode, int irq)
     136static errno_t pciintel_clear_interrupt(ddf_fun_t *fnode, int irq)
    137137{
    138138        pci_fun_t *fun = pci_fun(fnode);
     
    154154
    155155
    156 static int config_space_write_32(ddf_fun_t *fun, uint32_t address,
     156static errno_t config_space_write_32(ddf_fun_t *fun, uint32_t address,
    157157    uint32_t data)
    158158{
     
    163163}
    164164
    165 static int config_space_write_16(
     165static errno_t config_space_write_16(
    166166    ddf_fun_t *fun, uint32_t address, uint16_t data)
    167167{
     
    172172}
    173173
    174 static int config_space_write_8(
     174static errno_t config_space_write_8(
    175175    ddf_fun_t *fun, uint32_t address, uint8_t data)
    176176{
     
    181181}
    182182
    183 static int config_space_read_32(
     183static errno_t config_space_read_32(
    184184    ddf_fun_t *fun, uint32_t address, uint32_t *data)
    185185{
     
    190190}
    191191
    192 static int config_space_read_16(
     192static errno_t config_space_read_16(
    193193    ddf_fun_t *fun, uint32_t address, uint16_t *data)
    194194{
     
    199199}
    200200
    201 static int config_space_read_8(
     201static errno_t config_space_read_8(
    202202    ddf_fun_t *fun, uint32_t address, uint8_t *data)
    203203{
     
    234234};
    235235
    236 static int pci_dev_add(ddf_dev_t *);
    237 static int pci_fun_online(ddf_fun_t *);
    238 static int pci_fun_offline(ddf_fun_t *);
     236static errno_t pci_dev_add(ddf_dev_t *);
     237static errno_t pci_fun_online(ddf_fun_t *);
     238static errno_t pci_fun_offline(ddf_fun_t *);
    239239
    240240/** PCI bus driver standard operations */
     
    382382void pci_fun_create_match_ids(pci_fun_t *fun)
    383383{
    384         int rc;
     384        errno_t rc;
    385385        int ret;
    386386        char match_id_str[ID_MAX_STR_LEN];
     
    602602{
    603603        pci_fun_t *fun;
    604         int rc;
     604        errno_t rc;
    605605       
    606606        int child_bus = 0;
     
    684684}
    685685
    686 static int pci_dev_add(ddf_dev_t *dnode)
     686static errno_t pci_dev_add(ddf_dev_t *dnode)
    687687{
    688688        hw_resource_list_t hw_resources;
     
    691691        bool got_res = false;
    692692        async_sess_t *sess;
    693         int rc;
     693        errno_t rc;
    694694       
    695695        ddf_msg(LVL_DEBUG, "pci_dev_add");
     
    810810}
    811811
    812 static int pci_fun_online(ddf_fun_t *fun)
     812static errno_t pci_fun_online(ddf_fun_t *fun)
    813813{
    814814        ddf_msg(LVL_DEBUG, "pci_fun_online()");
     
    816816}
    817817
    818 static int pci_fun_offline(ddf_fun_t *fun)
     818static errno_t pci_fun_offline(ddf_fun_t *fun)
    819819{
    820820        ddf_msg(LVL_DEBUG, "pci_fun_offline()");
Note: See TracChangeset for help on using the changeset viewer.