/* * include/asm-arm/arch-nexuspci/irq.h * * Copyright (C) 1998, 1999, 2000 Philip Blundell */ /* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #include #define fixup_irq(x) (x) extern unsigned long soft_irq_mask; static const unsigned char irq_cmd[] = { INTCONT_IRQ_DUART, INTCONT_IRQ_PLX, INTCONT_IRQ_D, INTCONT_IRQ_C, INTCONT_IRQ_B, INTCONT_IRQ_A, INTCONT_IRQ_SYSERR }; static void ftvpci_mask_irq(unsigned int irq) { __raw_writel(irq_cmd[irq], INTCONT_BASE); soft_irq_mask &= ~(1<= FIRST_IRQ && i <= LAST_IRQ) { irq_desc[i].valid = 1; irq_desc[i].probe_ok = 1; irq_desc[i].mask_ack = ftvpci_mask_irq; irq_desc[i].mask = ftvpci_mask_irq; irq_desc[i].unmask = ftvpci_unmask_irq; ftvpci_mask_irq(i); } else { irq_desc[i].valid = 0; irq_desc[i].probe_ok = 0; } } }