diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-02-26 16:40:44 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-02-26 16:40:44 +0000 |
commit | 4244c7073ad8a83d58d0aa3c4a87f4f36153ff3a (patch) | |
tree | 93f77629a4d68039a21652ed2bee2ef8f1de7113 /drivers/dahdi/voicebus/voicebus.h | |
parent | da08f0a6db75cf34f1d88c856fc2f9e8e0377f1d (diff) |
wctdm24xxp: Add support for Hx8 series cards.
The Hx8 series cards support BRI modules in addition to analog modules.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8123 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/voicebus/voicebus.h')
-rw-r--r-- | drivers/dahdi/voicebus/voicebus.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dahdi/voicebus/voicebus.h b/drivers/dahdi/voicebus/voicebus.h index 149b4d0..35f0e29 100644 --- a/drivers/dahdi/voicebus/voicebus.h +++ b/drivers/dahdi/voicebus/voicebus.h @@ -132,12 +132,17 @@ struct voicebus { #endif }; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20) +extern kmem_cache_t *voicebus_vbb_cache; +#else +extern struct kmem_cache *voicebus_vbb_cache; +#endif + int __voicebus_init(struct voicebus *vb, const char *board_name, int normal_mode); void voicebus_release(struct voicebus *vb); int voicebus_start(struct voicebus *vb); int voicebus_stop(struct voicebus *vb); -void voicebus_free(struct voicebus *vb, struct vbb *vbb); int voicebus_transmit(struct voicebus *vb, struct vbb *vbb); int voicebus_set_minlatency(struct voicebus *vb, unsigned int milliseconds); int voicebus_current_latency(struct voicebus *vb); |