summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/include/bsp/canmux.h
blob: 02727f44c7a68ef27ea553217e97656deccc9c99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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__ */