From 688874dbc1dfa330fd8aa7455ac6daed75c2db27 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 17 Nov 2008 17:44:10 +0000 Subject: 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 --- drivers/dahdi/wcb4xxp/wcb4xxp.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'drivers/dahdi/wcb4xxp/wcb4xxp.h') 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__ */ -- cgit v1.2.3