diff options
Diffstat (limited to 'xpp/xpd.h')
-rw-r--r-- | xpp/xpd.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; |