summaryrefslogtreecommitdiff
path: root/kernel/zaptel.h
diff options
context:
space:
mode:
authorsruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-08-19 20:14:25 +0000
committersruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-08-19 20:14:25 +0000
commitab2f7b36d75cbd447528e804888cd16053453ea1 (patch)
treeb6049f817515322a57a0ee1f388a2ecc90bc7fe0 /kernel/zaptel.h
parent6f66235b6a5a8d608dfecab5a1056c3e9ddceb17 (diff)
Couple of fixes for the transcoder:
- In dahdi_transcode.c, Embed the identifiation number, assigned sequentially when the transcoders are registered, in the transcoder structure. This allows DAHDI_TC_GETINFO to work as expected even though the transcoders are rotated on the list in order to spread the load. - In wctc4xxp, fix bug where all transcoders are named tc400b0. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4491 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/zaptel.h')
-rw-r--r--kernel/zaptel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/zaptel.h b/kernel/zaptel.h
index fd57755..98f514b 100644
--- a/kernel/zaptel.h
+++ b/kernel/zaptel.h
@@ -1744,6 +1744,7 @@ zt_tc_clear_data_waiting(struct zt_transcoder_channel *dtc) {
struct zt_transcoder {
struct list_head node;
char name[80];
+ int pos;
int numchannels;
unsigned int srcfmts;
unsigned int dstfmts;