diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-11-06 16:40:42 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-11-06 16:40:42 +0000 |
commit | 6679aa2f08c81d44f17f75cd463e82a22bfb7fef (patch) | |
tree | 94aa1bd3baae6f8f738a60d0d5225d05f8ae3bfb /wctdm.h | |
parent | 721c2d8b7dfcb7715ece631172ed0c3d915f5b91 (diff) |
Makefile fixes from bug #2798 and rename wcfxs to wctdm
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@491 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.h')
-rwxr-xr-x | wctdm.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -28,24 +28,24 @@ #define NUM_REGS 109 #define NUM_INDIRECT_REGS 105 -struct wcfxs_stats { +struct wctdm_stats { int tipvolt; /* TIP voltage (mV) */ int ringvolt; /* RING voltage (mV) */ int batvolt; /* VBAT voltage (mV) */ }; -struct wcfxs_regs { +struct wctdm_regs { unsigned char direct[NUM_REGS]; unsigned short indirect[NUM_INDIRECT_REGS]; }; -struct wcfxs_regop { +struct wctdm_regop { int indirect; unsigned char reg; unsigned short val; }; -#define WCFXS_GET_STATS _IOR (ZT_CODE, 60, struct wcfxs_stats) -#define WCFXS_GET_REGS _IOR (ZT_CODE, 61, struct wcfxs_regs) -#define WCFXS_SET_REG _IOW (ZT_CODE, 62, struct wcfxs_regop) +#define WCTDM_GET_STATS _IOR (ZT_CODE, 60, struct wctdm_stats) +#define WCTDM_GET_REGS _IOR (ZT_CODE, 61, struct wctdm_regs) +#define WCTDM_SET_REG _IOW (ZT_CODE, 62, struct wctdm_regop) |