diff options
Diffstat (limited to 'include/asm-mips/dec/kn01.h')
-rw-r--r-- | include/asm-mips/dec/kn01.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/asm-mips/dec/kn01.h b/include/asm-mips/dec/kn01.h index 325fcbbbdfa0..607a385ffd8a 100644 --- a/include/asm-mips/dec/kn01.h +++ b/include/asm-mips/dec/kn01.h | |||
@@ -8,7 +8,7 @@ | |||
8 | * | 8 | * |
9 | * Copyright (C) 1995,1996 by Paul M. Antoine, some code and definitions | 9 | * Copyright (C) 1995,1996 by Paul M. Antoine, some code and definitions |
10 | * are by courtesy of Chris Fraser. | 10 | * are by courtesy of Chris Fraser. |
11 | * Copyright (C) 2002, 2003 Maciej W. Rozycki | 11 | * Copyright (C) 2002, 2003, 2005 Maciej W. Rozycki |
12 | */ | 12 | */ |
13 | #ifndef __ASM_MIPS_DEC_KN01_H | 13 | #ifndef __ASM_MIPS_DEC_KN01_H |
14 | #define __ASM_MIPS_DEC_KN01_H | 14 | #define __ASM_MIPS_DEC_KN01_H |
@@ -80,4 +80,22 @@ | |||
80 | #define KN01_CSR_VRGTRB (1<<0) /* red DAC voltage over blue (r/o) */ | 80 | #define KN01_CSR_VRGTRB (1<<0) /* red DAC voltage over blue (r/o) */ |
81 | #define KN01_CSR_LEDS (0xff<<0) /* ~diagnostic LEDs (w/o) */ | 81 | #define KN01_CSR_LEDS (0xff<<0) /* ~diagnostic LEDs (w/o) */ |
82 | 82 | ||
83 | |||
84 | #ifndef __ASSEMBLY__ | ||
85 | |||
86 | #include <linux/interrupt.h> | ||
87 | #include <linux/spinlock.h> | ||
88 | #include <linux/types.h> | ||
89 | |||
90 | struct pt_regs; | ||
91 | |||
92 | extern u16 cached_kn01_csr; | ||
93 | extern spinlock_t kn01_lock; | ||
94 | |||
95 | extern void dec_kn01_be_init(void); | ||
96 | extern int dec_kn01_be_handler(struct pt_regs *regs, int is_fixup); | ||
97 | extern irqreturn_t dec_kn01_be_interrupt(int irq, void *dev_id, | ||
98 | struct pt_regs *regs); | ||
99 | #endif | ||
100 | |||
83 | #endif /* __ASM_MIPS_DEC_KN01_H */ | 101 | #endif /* __ASM_MIPS_DEC_KN01_H */ |