summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2/include/cchip.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-06 13:17:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-06 13:17:16 +0000
commitee8933f26dfac31eb6103289d7b37312a43f0bf3 (patch)
tree91d5fcb444e6d58f83b5720ef7a6afd13baddca5 /c/src/lib/libbsp/sparc/leon2/include/cchip.h
parent2007-09-06 Daniel Hellstrom <daniel@gaisler.com> (diff)
downloadrtems-ee8933f26dfac31eb6103289d7b37312a43f0bf3.tar.bz2
2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* cchip/cchip.c, include/cchip.h, include/rasta.h, rasta/rasta.c: New files missed in previous commit.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/include/cchip.h')
-rw-r--r--c/src/lib/libbsp/sparc/leon2/include/cchip.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/include/cchip.h b/c/src/lib/libbsp/sparc/leon2/include/cchip.h
new file mode 100644
index 0000000000..63a4a9ba25
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/leon2/include/cchip.h
@@ -0,0 +1,23 @@
+
+#ifndef __CCHIP_H__
+#define __CCHIP_H__
+
+#include <b1553brm_pci.h>
+#include <occan_pci.h>
+#include <grspw_pci.h>
+#include <apbuart_pci.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define CCHIP_IRQ 4
+
+/* Register all drivers supported by the Companion Chip board */
+int cchip_register(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif