Changes in uspace/drv/bus/pci/pciintel/pci.c [d5c1051:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified uspace/drv/bus/pci/pciintel/pci.c ¶
rd5c1051 rb7fd2a0 114 114 } 115 115 116 static int pciintel_enable_interrupt(ddf_fun_t *fnode, int irq)116 static errno_t pciintel_enable_interrupt(ddf_fun_t *fnode, int irq) 117 117 { 118 118 pci_fun_t *fun = pci_fun(fnode); … … 124 124 } 125 125 126 static int pciintel_disable_interrupt(ddf_fun_t *fnode, int irq)126 static errno_t pciintel_disable_interrupt(ddf_fun_t *fnode, int irq) 127 127 { 128 128 pci_fun_t *fun = pci_fun(fnode); … … 134 134 } 135 135 136 static int pciintel_clear_interrupt(ddf_fun_t *fnode, int irq)136 static errno_t pciintel_clear_interrupt(ddf_fun_t *fnode, int irq) 137 137 { 138 138 pci_fun_t *fun = pci_fun(fnode); … … 154 154 155 155 156 static int config_space_write_32(ddf_fun_t *fun, uint32_t address,156 static errno_t config_space_write_32(ddf_fun_t *fun, uint32_t address, 157 157 uint32_t data) 158 158 { … … 163 163 } 164 164 165 static int config_space_write_16(165 static errno_t config_space_write_16( 166 166 ddf_fun_t *fun, uint32_t address, uint16_t data) 167 167 { … … 172 172 } 173 173 174 static int config_space_write_8(174 static errno_t config_space_write_8( 175 175 ddf_fun_t *fun, uint32_t address, uint8_t data) 176 176 { … … 181 181 } 182 182 183 static int config_space_read_32(183 static errno_t config_space_read_32( 184 184 ddf_fun_t *fun, uint32_t address, uint32_t *data) 185 185 { … … 190 190 } 191 191 192 static int config_space_read_16(192 static errno_t config_space_read_16( 193 193 ddf_fun_t *fun, uint32_t address, uint16_t *data) 194 194 { … … 199 199 } 200 200 201 static int config_space_read_8(201 static errno_t config_space_read_8( 202 202 ddf_fun_t *fun, uint32_t address, uint8_t *data) 203 203 { … … 234 234 }; 235 235 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 *);236 static errno_t pci_dev_add(ddf_dev_t *); 237 static errno_t pci_fun_online(ddf_fun_t *); 238 static errno_t pci_fun_offline(ddf_fun_t *); 239 239 240 240 /** PCI bus driver standard operations */ … … 382 382 void pci_fun_create_match_ids(pci_fun_t *fun) 383 383 { 384 int rc;384 errno_t rc; 385 385 int ret; 386 386 char match_id_str[ID_MAX_STR_LEN]; … … 602 602 { 603 603 pci_fun_t *fun; 604 int rc;604 errno_t rc; 605 605 606 606 int child_bus = 0; … … 684 684 } 685 685 686 static int pci_dev_add(ddf_dev_t *dnode)686 static errno_t pci_dev_add(ddf_dev_t *dnode) 687 687 { 688 688 hw_resource_list_t hw_resources; … … 691 691 bool got_res = false; 692 692 async_sess_t *sess; 693 int rc;693 errno_t rc; 694 694 695 695 ddf_msg(LVL_DEBUG, "pci_dev_add"); … … 810 810 } 811 811 812 static int pci_fun_online(ddf_fun_t *fun)812 static errno_t pci_fun_online(ddf_fun_t *fun) 813 813 { 814 814 ddf_msg(LVL_DEBUG, "pci_fun_online()"); … … 816 816 } 817 817 818 static int pci_fun_offline(ddf_fun_t *fun)818 static errno_t pci_fun_offline(ddf_fun_t *fun) 819 819 { 820 820 ddf_msg(LVL_DEBUG, "pci_fun_offline()");
Note:
See TracChangeset
for help on using the changeset viewer.