From 4244c7073ad8a83d58d0aa3c4a87f4f36153ff3a Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Fri, 26 Feb 2010 16:40:44 +0000 Subject: 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 --- drivers/dahdi/wcte12xp/base.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/dahdi/wcte12xp') diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index 38efdfa..f88b042 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -193,7 +193,7 @@ static void cmd_dequeue(struct t1 *wc, unsigned char *writechunk, int eframe, in } -static inline void cmd_decipher(struct t1 *wc, unsigned char *readchunk) +static inline void cmd_decipher(struct t1 *wc, const u8 *readchunk) { struct command *cmd = NULL; unsigned long flags; @@ -221,7 +221,7 @@ static inline void cmd_decipher(struct t1 *wc, unsigned char *readchunk) spin_unlock_irqrestore(&wc->cmd_list_lock, flags); } -inline void cmd_decipher_vpmadt032(struct t1 *wc, unsigned char *readchunk) +inline void cmd_decipher_vpmadt032(struct t1 *wc, const u8 *readchunk) { unsigned long flags; struct vpmadt032 *vpm = wc->vpmadt032; @@ -1660,7 +1660,7 @@ static void t1_do_counters(struct t1 *wc) } } -static inline void t1_transmitprep(struct t1 *wc, unsigned char* writechunk) +static inline void t1_transmitprep(struct t1 *wc, u8 *writechunk) { int x; int y; @@ -1697,7 +1697,7 @@ static inline void t1_transmitprep(struct t1 *wc, unsigned char* writechunk) } } -static inline void t1_receiveprep(struct t1 *wc, unsigned char* readchunk) +static inline void t1_receiveprep(struct t1 *wc, const u8* readchunk) { int x,chan; unsigned char expected; -- cgit v1.2.3