diff options
author | Shaun Ruffell <sruffell@digium.com> | 2008-11-17 17:44:10 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2008-11-17 17:44:10 +0000 |
commit | 688874dbc1dfa330fd8aa7455ac6daed75c2db27 (patch) | |
tree | a74aa4c4ad5aa188390fee75f6bf72dadbc457a2 /drivers/dahdi/wcb4xxp/wcb4xxp.h | |
parent | ed736e23922ea4ad7b00e348769e1ba2acbc98b2 (diff) |
A fix for an issue with corruption on the D-Channels.
Patch provided by akohlsmith.
Issue: DAHDI-173.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5315 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcb4xxp/wcb4xxp.h')
-rw-r--r-- | drivers/dahdi/wcb4xxp/wcb4xxp.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/dahdi/wcb4xxp/wcb4xxp.h b/drivers/dahdi/wcb4xxp/wcb4xxp.h index c53389f..07f7cf1 100644 --- a/drivers/dahdi/wcb4xxp/wcb4xxp.h +++ b/drivers/dahdi/wcb4xxp/wcb4xxp.h @@ -504,19 +504,6 @@ struct b4xxp { zlen += (HFC_ZMAX - HFC_ZMIN) + 1; \ } -#define get_Z32(z1, z2, zlen) { \ - { \ - unsigned int tmp; \ - tmp = hfc_readcounter32(b4, A_Z12); \ - z1 = tmp & 0xffff; \ - z2 = (tmp >> 16); \ - zlen = z1 - z2; \ - \ - if(zlen < 0) \ - zlen += (HFC_ZMAX - HFC_ZMIN) + 1; \ - } \ - } - #define flush_pci() (void)ioread8(b4->addr + R_STATUS) #endif /* __KERNEL__ */ |