diff options
author | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-12-30 18:46:36 +0000 |
---|---|---|
committer | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-12-30 18:46:36 +0000 |
commit | b642e8ea1c42b82302b624947a12456a46e82dfb (patch) | |
tree | 4583915078747d9c7bd5228f8c2a01f2004a561c | |
parent | 79631558e10918a958abb06bfe7d2f6bf341c6a0 (diff) |
Better name for the ioctl, not to confuse programmers w/ country codes, etc
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@526 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-x | wctdm.c | 2 | ||||
-rwxr-xr-x | wctdm.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1676,7 +1676,7 @@ static int wctdm_ioctl(struct zt_chan *chan, unsigned int cmd, unsigned long dat wctdm_setreg(wc, chan->chanpos - 1, regop.reg, regop.val); } break; - case WCTDM_SET_ECHOZONE: + case WCTDM_SET_ECHOTUNE: whichecho = fxo_modes[_opermode].echoentry; if (wc->modtype[chan->chanpos - 1] != MOD_TYPE_FXO) @@ -48,5 +48,5 @@ struct wctdm_regop { #define WCTDM_GET_STATS _IOR (ZT_CODE, 60, struct wctdm_stats) #define WCTDM_GET_REGS _IOR (ZT_CODE, 61, struct wctdm_regs) #define WCTDM_SET_REG _IOW (ZT_CODE, 62, struct wctdm_regop) -#define WCTDM_SET_ECHOZONE _IOW (ZT_CODE, 63, int) +#define WCTDM_SET_ECHOTUNE _IOW (ZT_CODE, 63, int) |