diff options
author | Amar Takhar <amar@rtems.org> | 2015-12-11 17:42:52 -0500 |
---|---|---|
committer | Amar Takhar <amar@rtems.org> | 2015-12-11 17:42:52 -0500 |
commit | ea3940c92ee9aa6e3405ea2810a862ef78a44cd1 (patch) | |
tree | 781b4b1530ddcb8131b76bd87537c7e2721b568b /include/bsp/canmux.h | |
parent | 4a85c73bd4bda4d314a91bb9ee4b3da5163e8221 (diff) |
Stage 1: Move single headers.
Diffstat (limited to 'include/bsp/canmux.h')
-rw-r--r-- | include/bsp/canmux.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/bsp/canmux.h b/include/bsp/canmux.h new file mode 100644 index 0000000000..02727f44c7 --- /dev/null +++ b/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__ */ |