summaryrefslogtreecommitdiff
path: root/drivers/dahdi/voicebus/voicebus.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/voicebus/voicebus.h')
-rw-r--r--drivers/dahdi/voicebus/voicebus.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/dahdi/voicebus/voicebus.h b/drivers/dahdi/voicebus/voicebus.h
index 3f09390..73bd724 100644
--- a/drivers/dahdi/voicebus/voicebus.h
+++ b/drivers/dahdi/voicebus/voicebus.h
@@ -82,6 +82,7 @@ struct voicebus;
struct vbb {
u8 data[VOICEBUS_SFRAME_SIZE];
struct list_head entry;
+ dma_addr_t dma_addr;
};
struct voicebus_operations {
@@ -157,6 +158,7 @@ struct voicebus {
unsigned int max_latency;
struct list_head tx_complete;
struct list_head free_rx;
+ struct dma_pool *pool;
#ifdef VOICEBUS_NET_DEBUG
struct sk_buff_head captured_packets;
@@ -170,12 +172,6 @@ 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,
enum voicebus_mode mode);
void voicebus_release(struct voicebus *vb);