tty/serial: atmel_serial: whitespace and braces modifications
[zen-stable.git] / drivers / staging / cxt1e1 / pmcc4_ioctls.h
blob6b8d65673c78cbd8ef751cd69885c52d7ade4195
1 /* RCSid: $Header: /home/rickd/projects/pmcc4/include/pmcc4_ioctls.h,v 2.0 2005/09/28 00:10:09 rickd PMCC4_3_1B $
2 */
4 #ifndef _INC_PMCC4_IOCTLS_H_
5 #define _INC_PMCC4_IOCTLS_H_
7 /*-----------------------------------------------------------------------------
8 * pmcc4_ioctls.h -
10 * Copyright (C) 2005 SBE, Inc.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * For further information, contact via email: support@sbei.com
23 * SBE, Inc. San Ramon, California U.S.A.
24 *-----------------------------------------------------------------------------
25 * RCS info:
26 * RCS revision: $Revision: 2.0 $
27 * Last changed on $Date: 2005/09/28 00:10:09 $
28 * Changed by $Author: rickd $
29 *-----------------------------------------------------------------------------
30 * $Log: pmcc4_ioctls.h,v $
31 * Revision 2.0 2005/09/28 00:10:09 rickd
32 * Add GNU license info. Switch Ioctls to sbe_ioc.h usage.
34 * Revision 1.2 2005/04/28 23:43:03 rickd
35 * Add RCS tracking heading.
37 *-----------------------------------------------------------------------------
40 #include "sbew_ioc.h"
42 enum
44 // C4_GET_PORT = 0,
45 // C4_SET_PORT,
46 // C4_GET_CHAN,
47 // C4_SET_CHAN,
48 C4_DEL_CHAN = 0,
49 // C4_CREATE_CHAN,
50 // C4_GET_CHAN_STATS,
51 // C4_RESET,
52 // C4_DEBUG,
53 C4_RESET_STATS,
54 C4_LOOP_PORT,
55 C4_RW_FRMR,
56 C4_RW_MSYC,
57 C4_RW_PLD
60 #define C4_GET_PORT SBE_IOC_PORT_GET
61 #define C4_SET_PORT SBE_IOC_PORT_SET
62 #define C4_GET_CHAN SBE_IOC_CHAN_GET
63 #define C4_SET_CHAN SBE_IOC_CHAN_SET
64 // #define C4_DEL_CHAN XXX
65 #define C4_CREATE_CHAN SBE_IOC_CHAN_NEW
66 #define C4_GET_CHAN_STATS SBE_IOC_CHAN_GET_STAT
67 #define C4_RESET SBE_IOC_RESET_DEV
68 #define C4_DEBUG SBE_IOC_LOGLEVEL
69 // #define C4_RESET_STATS XXX
70 // #define C4_LOOP_PORT XXX
71 // #define C4_RW_FRMR XXX
72 // #define C4_RW_MSYC XXX
73 // #define C4_RW_PLD XXX
75 struct c4_chan_stats_wrap
77 int channum;
78 struct sbecom_chan_stats stats;
81 #endif /* _INC_PMCC4_IOCTLS_H_ */