summaryrefslogtreecommitdiff
path: root/wctdm24xxp/wctdm24xxp.h
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-11-21 23:51:48 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-11-21 23:51:48 +0000
commitc0de14aa2283e8df6a778a44d18154c9b613b5be (patch)
tree3be03bcc51e41c9805d1f40484d42e8ce0a6f120 /wctdm24xxp/wctdm24xxp.h
parent54a03c0ce0a011b0f7d942b0f609304976b49def (diff)
Add new product support
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3243 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp/wctdm24xxp.h')
-rw-r--r--wctdm24xxp/wctdm24xxp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wctdm24xxp/wctdm24xxp.h b/wctdm24xxp/wctdm24xxp.h
index 89d708e..40f919c 100644
--- a/wctdm24xxp/wctdm24xxp.h
+++ b/wctdm24xxp/wctdm24xxp.h
@@ -50,8 +50,10 @@
#define CMD_WR(a,b) (((a) << 8) | (b) | __CMD_WR)
#define CMD_RD(a) (((a) << 8) | __CMD_RD)
+#if 0
#define CMD_BYTE(card,bit,altcs) (((((card) & 0x3) * 3 + (bit)) * 7) \
+ ((card) >> 2) + (altcs) + ((altcs) ? -21 : 0))
+#endif
#define NUM_CARDS 24
#define NUM_EC 4
#define NUM_SLOTS 6