Exemple #1
0
/* No spinlocks, should not be necessary with the Tsi108 PIC
 * (1 register = 1 interrupt and we have the desc lock).
 */
static void tsi108_pic_ack_irq(unsigned int irq_nr)
{
#ifdef __SLOW_VERSION__
	tsi108_pic_disable_irq(irq_nr);
	tsi108_pic_eoi();
#else
	if ((irq_desc[irq_nr].status & IRQ_LEVEL) == 0)
		tsi108_pic_eoi();
#endif
}
Exemple #2
0
static void tsi108_pic_end_irq(unsigned int irq_nr)
{
#ifdef __SLOW_VERSION__
	if (!(irq_desc[irq_nr].status & (IRQ_DISABLED|IRQ_INPROGRESS))
	    && irq_desc[irq_nr].action)
		tsi108_pic_enable_irq(irq_nr);
#else
	if ((irq_desc[irq_nr].status & IRQ_LEVEL) != 0)
		tsi108_pic_eoi();
#endif
}
Exemple #3
0
static void tsi108_pci_irq_end(u_int irq)
{
	tsi108_pic_eoi(); /* eoi IRQ_TSI108_PCI */
	tsi108_pci_int_unmask(irq);
}
Exemple #4
0
/* No spinlocks, should not be necessary with the Tsi108 PIC
 * (1 register = 1 interrupt and we have the desc lock).
 */
static void tsi108_pic_ack_irq(unsigned int irq_nr)
{
	tsi108_pic_disable_irq(irq_nr);
	tsi108_pic_eoi();
}