diff options
author | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-11-05 18:36:53 +0100 |
---|---|---|
committer | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-11-05 18:36:53 +0100 |
commit | 0765bf9a051d735855f9617cbe2a54d231a56ba9 (patch) | |
tree | a0d51513e35c1b0345baf7b1d770df477c792ea7 /xhfc/xhfc.h | |
parent | 010a04ebd7bfedf7e715d4977f42b55ff95ffc04 (diff) |
more
Diffstat (limited to 'xhfc/xhfc.h')
-rw-r--r-- | xhfc/xhfc.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xhfc/xhfc.h b/xhfc/xhfc.h index 0b4fe00..4709c10 100644 --- a/xhfc/xhfc.h +++ b/xhfc/xhfc.h @@ -74,7 +74,6 @@ enum { XHFC_T1, XHFC_T2, XHFC_T3, XHFC_T4 }; #define DBG_SPANFILTER ((1 << xhfc_span->port) & dbg_spanfilter) #define CORRUPTED_FRAME (-1) -#define USE_FIFO_IRQ 0 #define HDLC_BUF_LEN 128 /* "arbitrary", or so say DAHDI's drivers */ @@ -85,7 +84,10 @@ enum { XHFC_T1, XHFC_T2, XHFC_T3, XHFC_T4 }; # define MIN(a, b) (((a) < (b))? (a) : (b)) #endif -#define NOT_RUNNING UINT_MAX +#define V_SU_ACT_ACTIVATE 3 +#define V_SU_ACT_DEACTIVATE 2 + +#define NOT_RUNNING 0 enum data_dir { TRANSMIT = 0, RECEIVE = 1 }; @@ -123,7 +125,7 @@ struct xhfc_span { struct dahdi_chan* sigchan; int sigactive; - unsigned int t1, t3, f6_f7_transition; + unsigned int t1, t3, f6_f7_transition; // timers; 0 when deactivated unsigned long non_rx_cnt; }; |