summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/include/bsp/canmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sparc/include/bsp/canmux.h')
-rw-r--r--bsps/sparc/include/bsp/canmux.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/bsps/sparc/include/bsp/canmux.h b/bsps/sparc/include/bsp/canmux.h
new file mode 100644
index 0000000000..02727f44c7
--- /dev/null
+++ b/bsps/sparc/include/bsp/canmux.h
@@ -0,0 +1,32 @@
+/*
+ * Header file for RTEMS CAN_MUX driver
+ *
+ * COPYRIGHT (c) 2008.
+ * Cobham Gaisler AB.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifndef __CANMUX_H__
+#define __CANMUX_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Driver interface */
+int canmux_register(void);
+
+/* ioctl calls */
+#define CANMUX_IOC_BUSA_SATCAN 1
+#define CANMUX_IOC_BUSA_OCCAN1 2
+#define CANMUX_IOC_BUSB_SATCAN 3
+#define CANMUX_IOC_BUSB_OCCAN2 4
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __CANMUX_H__ */