1 #ifndef _INC_PMCC4_IOCTLS_H_ 2 #define _INC_PMCC4_IOCTLS_H_ 3 4 /*----------------------------------------------------------------------------- 5 * pmcc4_ioctls.h - 6 * 7 * Copyright (C) 2005 SBE, Inc. 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * For further information, contact via email: support@sbei.com 20 * SBE, Inc. San Ramon, California U.S.A. 21 *----------------------------------------------------------------------------- 22 */ 23 24 #include "sbew_ioc.h" 25 26 enum 27 { 28 // C4_GET_PORT = 0, 29 // C4_SET_PORT, 30 // C4_GET_CHAN, 31 // C4_SET_CHAN, 32 C4_DEL_CHAN = 0, 33 // C4_CREATE_CHAN, 34 // C4_GET_CHAN_STATS, 35 // C4_RESET, 36 // C4_DEBUG, 37 C4_RESET_STATS, 38 C4_LOOP_PORT, 39 C4_RW_FRMR, 40 C4_RW_MSYC, 41 C4_RW_PLD 42 }; 43 44 #define C4_GET_PORT SBE_IOC_PORT_GET 45 #define C4_SET_PORT SBE_IOC_PORT_SET 46 #define C4_GET_CHAN SBE_IOC_CHAN_GET 47 #define C4_SET_CHAN SBE_IOC_CHAN_SET 48 // #define C4_DEL_CHAN XXX 49 #define C4_CREATE_CHAN SBE_IOC_CHAN_NEW 50 #define C4_GET_CHAN_STATS SBE_IOC_CHAN_GET_STAT 51 #define C4_RESET SBE_IOC_RESET_DEV 52 #define C4_DEBUG SBE_IOC_LOGLEVEL 53 // #define C4_RESET_STATS XXX 54 // #define C4_LOOP_PORT XXX 55 // #define C4_RW_FRMR XXX 56 // #define C4_RW_MSYC XXX 57 // #define C4_RW_PLD XXX 58 59 struct c4_chan_stats_wrap 60 { 61 int channum; 62 struct sbecom_chan_stats stats; 63 }; 64 65 #endif /* _INC_PMCC4_IOCTLS_H_ */ 66