summaryrefslogtreecommitdiff
path: root/wctdm.h
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-11-06 16:40:42 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-11-06 16:40:42 +0000
commit6679aa2f08c81d44f17f75cd463e82a22bfb7fef (patch)
tree94aa1bd3baae6f8f738a60d0d5225d05f8ae3bfb /wctdm.h
parent721c2d8b7dfcb7715ece631172ed0c3d915f5b91 (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-xwctdm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/wctdm.h b/wctdm.h
index 19ed059..31cbae9 100755
--- a/wctdm.h
+++ b/wctdm.h
@@ -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)