blob: 3875243bb56b6a024201d0ff9f84b570197261c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* include/asm-mips/txx9irq.h
* TX39/TX49 interrupt controller definitions.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#ifndef __ASM_TXX9IRQ_H
#define __ASM_TXX9IRQ_H
#include <irq.h>
#ifdef CONFIG_IRQ_MIPS_CPU
#define TXX9_IRQ_BASE (MIPS_CPU_IRQ_BASE + 8)
#else
#ifdef CONFIG_I8259
#define TXX9_IRQ_BASE (I8259A_IRQ_BASE + 16)
#else
#define TXX9_IRQ_BASE 0
#endif
#endif
#define TXx9_MAX_IR 32
void txx9_irq_init(unsigned long baseaddr);
int txx9_irq(void);
int txx9_irq_set_pri(int irc_irq, int new_pri);
#endif /* __ASM_TXX9IRQ_H */
|