15 #include <linux/signal.h>
20 #define SMSC_IRQ IRQ_IRL1
23 #define PCI2_IRQ IRQ_IRL3
27 #define EPLD_BASE 0x04002000
28 #define EPLD_STATUS_BASE (epld_virt + 0x10)
29 #define EPLD_MASK_BASE (epld_virt + 0x20)
46 static struct irqaction cayman_action_smsc = {
47 .name =
"Cayman SMSC Mux",
48 .handler = cayman_interrupt_smsc,
51 static struct irqaction cayman_action_pci2 = {
52 .name =
"Cayman PCI2 Mux",
53 .handler = cayman_interrupt_pci2,
58 unsigned int irq = data->
irq;
64 irq -= START_EXT_IRQS;
76 unsigned int irq = data->
irq;
82 irq -= START_EXT_IRQS;
94 .irq_unmask = enable_cayman_irq,
95 .irq_mask = disable_cayman_irq,
111 for (i=0; i<8; i++) {
115 irq = START_EXT_IRQS +
i;
128 for (i=0; i<8; i++) {
132 irq = START_EXT_IRQS + (3 * 8) + i;
150 irq_set_chip_and_handler(START_EXT_IRQS + i,