[dahdi-commits] sruffell: linux/trunk r9780 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Feb 28 08:19:24 CST 2011
Author: sruffell
Date: Mon Feb 28 08:19:20 2011
New Revision: 9780
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9780
Log:
wctdm24xxp: Remove unused wctdm_vpm_check, wctdm_vpm_in, and wctdm_vpm_out.
These functions were accidentally left in. They should have been remove in
"wctdm24xxp: Remove code for unsupported modules." r9720
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Modified:
linux/trunk/drivers/dahdi/wctdm24xxp/base.c
Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=9780&r1=9779&r2=9780
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Mon Feb 28 08:19:20 2011
@@ -995,17 +995,6 @@
return ret;
return val;
-}
-
-
-static inline unsigned char wctdm_vpm_in(struct wctdm *wc, int unit, const unsigned int addr)
-{
- return wctdm_getreg(wc, unit + NUM_MODULES, addr);
-}
-
-static inline void wctdm_vpm_out(struct wctdm *wc, int unit, const unsigned int addr, const unsigned char val)
-{
- wctdm_setreg(wc, unit + NUM_MODULES, addr, val);
}
static inline void cmd_retransmit(struct wctdm *wc)
@@ -1875,25 +1864,6 @@
}
}
fxs->lastrxhook = hook;
-}
-
-static inline void wctdm_vpm_check(struct wctdm *wc, int x)
-{
- if (wc->cmdq[x].isrshadow[0]) {
- if (debug & DEBUG_ECHOCAN)
- dev_info(&wc->vb.pdev->dev, "VPM: Detected dtmf ON channel %02x on chip %d!\n", wc->cmdq[x].isrshadow[0], x - NUM_MODULES);
- wc->sethook[x] = CMD_WR(0xb9, wc->cmdq[x].isrshadow[0]);
- wc->cmdq[x].isrshadow[0] = 0;
- /* Cancel most recent lookup, if there is one */
- wc->cmdq[x].cmds[USER_COMMANDS+0] = 0x00000000;
- } else if (wc->cmdq[x].isrshadow[1]) {
- if (debug & DEBUG_ECHOCAN)
- dev_info(&wc->vb.pdev->dev, "VPM: Detected dtmf OFF channel %02x on chip %d!\n", wc->cmdq[x].isrshadow[1], x - NUM_MODULES);
- wc->sethook[x] = CMD_WR(0xbd, wc->cmdq[x].isrshadow[1]);
- wc->cmdq[x].isrshadow[1] = 0;
- /* Cancel most recent lookup, if there is one */
- wc->cmdq[x].cmds[USER_COMMANDS+1] = 0x00000000;
- }
}
static const char *wctdm_echocan_name(const struct dahdi_chan *chan)
More information about the dahdi-commits
mailing list