linux-stable-rt/arch/mn10300/unit-asb2364/include/unit/irq.h

36 lines
790 B
C

/* ASB2364 FPGA irq numbers
*
* Copyright (C) 2010 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/
#ifndef _UNIT_IRQ_H
#define _UNIT_IRQ_H
#ifndef __ASSEMBLY__
#ifdef CONFIG_SMP
#define NR_CPU_IRQS GxICR_NUM_EXT_IRQS
#else
#define NR_CPU_IRQS GxICR_NUM_IRQS
#endif
enum {
FPGA_LAN_IRQ = NR_CPU_IRQS,
FPGA_UART_IRQ,
FPGA_I2C_IRQ,
FPGA_USB_IRQ,
FPGA_RESERVED_IRQ,
FPGA_FPGA_IRQ,
NR_IRQS
};
extern void __init irq_fpga_init(void);
#endif /* !__ASSEMBLY__ */
#endif /* _UNIT_IRQ_H */