summaryrefslogtreecommitdiff
path: root/xpp/xpd.h
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-06 21:18:42 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-06 21:18:42 +0000
commit4953605453a7f7f1da8c70c4c12a4b557cfc2c24 (patch)
tree0d1bd64cb09f75bf0c7aca3b17820738965a0f77 /xpp/xpd.h
parent1148b31f800c4a280c9a26592a18d4478afc1a82 (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/trunk@1563 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;