summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
diff options
context:
space:
mode:
authorRuss Meyerriecks <rmeyerreicks@digium.com>2010-08-06 20:10:25 +0000
committerRuss Meyerriecks <rmeyerreicks@digium.com>2010-08-06 20:10:25 +0000
commit1a64c8c466bc29c2d7b27325092bd5dc72fa9360 (patch)
tree5b360682450dbc69d8e8789546d7556be9f6d24d /drivers/dahdi/wctdm24xxp/wctdm24xxp.h
parent804b26b4f17c9d56d626a27cb7db47b894dea645 (diff)
wctdm24xxp: Added "auto" companding option
Added the "auto" option for the module parameter "companding". In auto mode its left up to each card to decide what companding mode it should be in. If a BRI module is installed, it set everything to alaw; ulaw is selected if no BRI module is installed. Also fixed a bug where forcing companding one way or the other wasn't affecting the BRI modules. dahdi-673 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9101 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/wctdm24xxp.h')
-rw-r--r--drivers/dahdi/wctdm24xxp/wctdm24xxp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
index b2950c8..1452850 100644
--- a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
+++ b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
@@ -277,6 +277,7 @@ struct wctdm {
int initialized; /* =1 when the entire card is ready to go */
unsigned long checkflag; /* Internal state flags and task bits */
+ int companding;
};
/* Atomic flag bits for checkflag field */