powerpc/pseries: Cleanup on pci_dn_reconfig_notifier()
[linux/fpc-iii.git] / arch / mn10300 / unit-asb2364 / include / unit / irq.h
blob786148e46565adcdfe03bc9ef2b8bd71a5e9e640
1 /* ASB2364 FPGA irq numbers
3 * Copyright (C) 2010 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
11 #ifndef _UNIT_IRQ_H
12 #define _UNIT_IRQ_H
14 #ifndef __ASSEMBLY__
16 #ifdef CONFIG_SMP
17 #define NR_CPU_IRQS GxICR_NUM_EXT_IRQS
18 #else
19 #define NR_CPU_IRQS GxICR_NUM_IRQS
20 #endif
22 enum {
23 FPGA_LAN_IRQ = NR_CPU_IRQS,
24 FPGA_UART_IRQ,
25 FPGA_I2C_IRQ,
26 FPGA_USB_IRQ,
27 FPGA_RESERVED_IRQ,
28 FPGA_FPGA_IRQ,
29 NR_IRQS
32 extern void __init irq_fpga_init(void);
34 #endif /* !__ASSEMBLY__ */
35 #endif /* _UNIT_IRQ_H */