wct4xxp: AMI w/CAS errata applies to octal card as well.
Fixes inability to reliably get CAS (robbed-bits) when using AMI line encoding on the TE820 card. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
This commit is contained in:
parent
180a17a39c
commit
47f0fde0f1
@ -2724,7 +2724,7 @@ static void __t4_configure_t1(struct t4 *wc, int unit, int lineconfig, int txlev
|
|||||||
if (lineconfig & DAHDI_CONFIG_AMI) {
|
if (lineconfig & DAHDI_CONFIG_AMI) {
|
||||||
line = "AMI";
|
line = "AMI";
|
||||||
/* workaround for errata #2 in ES v3 09-10-16 */
|
/* workaround for errata #2 in ES v3 09-10-16 */
|
||||||
fmr0 = (wc->falc31) ? 0xb0 : 0xa0;
|
fmr0 = (is_octal(wc) || wc->falc31) ? 0xb0 : 0xa0;
|
||||||
} else {
|
} else {
|
||||||
line = "B8ZS";
|
line = "B8ZS";
|
||||||
fmr0 = 0xf0;
|
fmr0 = 0xf0;
|
||||||
@ -2823,7 +2823,7 @@ static void __t4_configure_e1(struct t4 *wc, int unit, int lineconfig)
|
|||||||
if (lineconfig & DAHDI_CONFIG_AMI) {
|
if (lineconfig & DAHDI_CONFIG_AMI) {
|
||||||
line = "AMI";
|
line = "AMI";
|
||||||
/* workaround for errata #2 in ES v3 09-10-16 */
|
/* workaround for errata #2 in ES v3 09-10-16 */
|
||||||
fmr0 = (wc->falc31) ? 0xb0 : 0xa0;
|
fmr0 = (is_octal(wc) || wc->falc31) ? 0xb0 : 0xa0;
|
||||||
} else {
|
} else {
|
||||||
line = "HDB3";
|
line = "HDB3";
|
||||||
fmr0 = 0xf0;
|
fmr0 = 0xf0;
|
||||||
|
Loading…
Reference in New Issue
Block a user