RTEMS  5.1
canmux.h
1 /*
2  * Header file for RTEMS CAN_MUX driver
3  *
4  * COPYRIGHT (c) 2008.
5  * Cobham Gaisler AB.
6  *
7  * The license and distribution terms for this file may be
8  * found in the file LICENSE in this distribution or at
9  * http://www.rtems.org/license/LICENSE.
10  */
11 
12 #ifndef __CANMUX_H__
13 #define __CANMUX_H__
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /* Driver interface */
20 int canmux_register(void);
21 
22 /* ioctl calls */
23 #define CANMUX_IOC_BUSA_SATCAN 1
24 #define CANMUX_IOC_BUSA_OCCAN1 2
25 #define CANMUX_IOC_BUSB_SATCAN 3
26 #define CANMUX_IOC_BUSB_OCCAN2 4
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif /* __CANMUX_H__ */