Go to the documentation of this file.
9 #include <linux/types.h>
10 #include <linux/kernel.h>
23 extern int macide_ack_intr(
struct ata_channel *);
41 printk(
"Baboon detected at %p\n", baboon);
48 static void baboon_irq(
unsigned int irq,
struct irq_desc *
desc)
54 printk(
"baboon_irq: mb_control %02X mb_ifr %02X mb_status %02X\n",
59 events = baboon->
mb_ifr & 0x07;
66 if (events & irq_bit) {
67 baboon->
mb_ifr &= ~irq_bit;
72 }
while(events >= irq_bit);
74 if (baboon->
mb_ifr & 0x02) macide_ack_intr(
NULL);
101 printk(
"baboon_irq_enable(%d)\n", irq);
110 printk(
"baboon_irq_disable(%d)\n", irq);