Changes in uspace/drv/intctl/i8259/i8259.c [b7fd2a0:c1694b6b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/intctl/i8259/i8259.c
rb7fd2a0 rc1694b6b 64 64 #define PIC_MAX_IRQ 15 65 65 66 static errno_t pic_enable_irq(i8259_t *i8259, sysarg_t irq)66 static int pic_enable_irq(i8259_t *i8259, sysarg_t irq) 67 67 { 68 68 if (irq > PIC_MAX_IRQ) … … 136 136 137 137 /** Add i8259 device. */ 138 errno_t i8259_add(i8259_t *i8259, i8259_res_t *res)138 int i8259_add(i8259_t *i8259, i8259_res_t *res) 139 139 { 140 140 sysarg_t have_i8259; … … 142 142 ioport8_t *regs1; 143 143 ddf_fun_t *fun_a = NULL; 144 errno_t rc;144 int rc; 145 145 146 146 if ((sysinfo_get_value("i8259", &have_i8259) != EOK) || (!have_i8259)) { … … 187 187 188 188 /** Remove i8259 device */ 189 errno_t i8259_remove(i8259_t *i8259)189 int i8259_remove(i8259_t *i8259) 190 190 { 191 191 return ENOTSUP; … … 193 193 194 194 /** i8259 device gone */ 195 errno_t i8259_gone(i8259_t *i8259)195 int i8259_gone(i8259_t *i8259) 196 196 { 197 197 return ENOTSUP;
Note:
See TracChangeset
for help on using the changeset viewer.