aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/dec/kn01.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2005-06-22 16:56:26 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:31:30 -0400
commit64dac503e8265007ea5c53b4d6bf42488a8a8d7a (patch)
treed086e5ddd6d36118b476ed0fe01091d9d4d70cec /include/asm-mips/dec/kn01.h
parent3b2396d972ce030e942fef9fcbea1e411b1a62db (diff)
System-specific handling of bus errors for DECstation variations
supporting parity errors only for memory (Pmax/3min/Maxine). Fixes for resources decoded by the KN04/KN05 MB ASIC. Additional clean-ups for the ECC handler. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/dec/kn01.h')
-rw-r--r--include/asm-mips/dec/kn01.h20
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
90struct pt_regs;
91
92extern u16 cached_kn01_csr;
93extern spinlock_t kn01_lock;
94
95extern void dec_kn01_be_init(void);
96extern int dec_kn01_be_handler(struct pt_regs *regs, int is_fixup);
97extern 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 */