Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3940 → Rev 3941

/trunk/kernel/genarch/src/kbd/ns16550.c
156,9 → 156,9
{
}
 
irq_ownership_t ns16550_claim(void *instance)
irq_ownership_t ns16550_claim(irq_t *irq)
{
ns16550_instance_t *ns16550_instance = instance;
ns16550_instance_t *ns16550_instance = irq->instance;
ns16550_t *dev = ns16550_instance->ns16550;
 
if (pio_read_8(&dev->lsr) & LSR_DATA_READY)
/trunk/kernel/genarch/src/kbd/i8042.c
126,9 → 126,9
interrupts_restore(ipl);
}
 
static irq_ownership_t i8042_claim(void *instance)
static irq_ownership_t i8042_claim(irq_t *irq)
{
i8042_instance_t *i8042_instance = instance;
i8042_instance_t *i8042_instance = irq->instance;
i8042_t *dev = i8042_instance->i8042;
if (pio_read_8(&dev->status) & i8042_BUFFER_FULL_MASK)
return IRQ_ACCEPT;
/trunk/kernel/genarch/src/kbd/z8530.c
194,7 → 194,7
}
}
 
irq_ownership_t z8530_claim(void *instance)
irq_ownership_t z8530_claim(irq_t *irq)
{
return (z8530_read_a(&z8530, RR0) & RR0_RCA);
}