summaryrefslogtreecommitdiff
path: root/mg2ec.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-23 01:41:31 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-23 01:41:31 +0000
commite41ec82d5a0300a6991b24506d37365df0a39707 (patch)
tree3e4115dee8cd8da85b866832b5277970b1dec605 /mg2ec.h
parentef81c08aead4f64773442251b4eed786f60700a4 (diff)
bring in the rest of the support needed for HPEC
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2333 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'mg2ec.h')
-rw-r--r--mg2ec.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mg2ec.h b/mg2ec.h
index a1d691e..84d9144 100644
--- a/mg2ec.h
+++ b/mg2ec.h
@@ -167,6 +167,20 @@ struct echo_can_state {
};
+static void echo_can_init(void)
+{
+ printk("Zaptel Echo Canceller: MG2%s\n", ZAPTEL_ECHO_AGGRESSIVE);
+}
+
+static void echo_can_identify(char *buf, size_t len)
+{
+ strncpy(buf, "MG2", len);
+}
+
+static void echo_can_shutdown(void)
+{
+}
+
static inline void init_cb_s(echo_can_cb_s *cb, int len, void *where)
{
cb->buf_d = (short *)where;