kernels/linux-2.4.0/arch/i386/kernel/pci-irq.c
/*
 *  Code for querying and setting of IRQ routes on various interrupt routers.
 */
Code for querying and setting of IRQ routes on various interrupt routers.
Code for querying and setting of IRQ routes on various interrupt routers .
static void eisa_set_level_irq(unsigned int irq)
{
	unsigned char mask = 1 << (irq & 7);
	unsigned int port = 0x4d0 + (irq >> 3);
	unsigned char val = inb(port);
	if (!(val & mask)) {
		DBG(" -> edge");
		outb(val | mask, port);
	}
}
static void eisa_set_level_irq ( unsigned int irq ) { unsigned char mask = 1 << ( irq & 7 ) ; unsigned int port = 0x4d0 + ( irq >> 3 ) ; unsigned char val = inb ( port ) ; if ( ! ( val & mask ) ) { DBG ( " " ) ; outb ( val | mask , port ) ; } }
Code for querying and setting of IRQ routes on various interrupt routers.
Code for querying and setting of IRQ routes on various interrupt routers .