summaryrefslogtreecommitdiff
path: root/xpp/xpd.h
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-28 13:36:03 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-28 13:36:03 +0000
commitd8bdfe8d82cf7c57b2a4061fc03b6e0a863064e1 (patch)
treeb67e786e441a4b6951e05552d533a924d5dacccf /xpp/xpd.h
parent6ecdbe426f0630c1ffb85e5e93758ae3e53aba22 (diff)
r1557@boole: tzafrir | 2006-11-06 20:12:16 +0200
Merging xpp driver release 1.2 (rev. 2569), originally team/tzafrir/xpp_1.2 * Should build well. Almost final. * genzaptelconf: Also work when zap_autoreg=0 * README.Astribank updated for rev. 1.2. * xpp/utils/Makefile: Use $< with cc -c * Get xpp/utils configuration from autoconf (without changesin top dir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1648 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpd.h')
-rw-r--r--xpp/xpd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/xpp/xpd.h b/xpp/xpd.h
index 71db99e..74b759d 100644
--- a/xpp/xpd.h
+++ b/xpp/xpd.h
@@ -191,8 +191,8 @@ struct xbus {
#endif
typedef enum xpd_direction {
- TO_PHONE = 0,
- TO_PSTN = 1,
+ TO_PSTN = 0,
+ TO_PHONE = 1,
} xpd_direction_t;
#ifdef __KERNEL__
@@ -255,6 +255,7 @@ struct xpd {
xpp_line_t cid_on;
xpp_line_t digital_outputs; /* 0 - no, 1 - yes */
xpp_line_t digital_inputs; /* 0 - no, 1 - yes */
+ xpp_line_t digital_signalling; /* PRI/BRI signalling channels */
int ringing[CHANNELS_PERXPD];
bool ringer_on[CHANNELS_PERXPD]; /* For ring toggling */
@@ -286,6 +287,8 @@ struct xpd {
const xops_t *xops; /* Card level operations */
void *priv; /* Card level private data */
bool card_present;
+ reg_cmd_t requested_reply;
+ reg_cmd_t last_reply;
unsigned long last_response; /* in jiffies */
unsigned id;