patch-2.4.0-test4 linux/include/asm-mips/orion.h

Next file: linux/include/asm-mips/param.h
Previous file: linux/include/asm-mips/highmem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/include/asm-mips/orion.h linux/include/asm-mips/orion.h
@@ -0,0 +1,14 @@
+/*
+ * Orion/Galileo specific header file.
+ *  -- Cort <cort@fsmlabs.com>
+ */
+#ifndef __LINUX_MIPS_ORION_H
+#define __LINUX_MIPS_ORION_H
+
+/* base address for the GT-64120 internal registers */
+#define GT64120_BASE (0x14000000)
+/* GT64120 and PCI_0 interrupt cause register */
+#define GT64120_CAUSE_LOW *(unsigned long *)(GT64120_BASE + 0xc18)
+#define GT64120_CAUSE_HIGH *(unsigned long *)(GT64120_BASE + 0xc1c)
+
+#endif /* __LINUX_MIPS_ORION_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)