summaryrefslogtreecommitdiffstats
path: root/include/linux/openpic.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
commitc7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch)
tree3682407a599b8f9f03fc096298134cafba1c9b2f /include/linux/openpic.h
parent1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff)
o Merge with Linux 2.1.116.
o New Newport console code. o New G364 console code.
Diffstat (limited to 'include/linux/openpic.h')
-rw-r--r--include/linux/openpic.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/include/linux/openpic.h b/include/linux/openpic.h
index 863e65997..1b6102a2f 100644
--- a/include/linux/openpic.h
+++ b/include/linux/openpic.h
@@ -3,10 +3,6 @@
*
* Copyright (C) 1997 Geert Uytterhoeven
*
- * 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.
- *
* This file is based on the following documentation:
*
* The Open Programmable Interrupt Controller (PIC)
@@ -51,6 +47,16 @@
/*
+ * Vector numbers
+ */
+
+#define OPENPIC_VEC_SOURCE 0x10 /* and up */
+#define OPENPIC_VEC_TIMER 0x40 /* and up */
+#define OPENPIC_VEC_IPI 0x50 /* and up */
+#define OPENPIC_VEC_SPURIOUS 99
+
+
+ /*
* OpenPIC Registers are 32 bits and aligned on 128 bit boundaries
*/
@@ -198,6 +204,8 @@ struct OpenPIC {
};
extern volatile struct OpenPIC *OpenPIC;
+extern u_int OpenPIC_NumInitSenses;
+extern u_char *OpenPIC_InitSenses;
/*