summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcb4xxp/wcb4xxp.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-11-17 17:44:10 +0000
committerShaun Ruffell <sruffell@digium.com>2008-11-17 17:44:10 +0000
commit3e96a4ae82f5f091a59fa0ea6b9eb479d534956a (patch)
treea74aa4c4ad5aa188390fee75f6bf72dadbc457a2 /drivers/dahdi/wcb4xxp/wcb4xxp.h
parent94ed23e8d22c4d45308f70fe57b1980d9e781960 (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.h13
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__ */