diff options
author | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-12-17 17:23:55 +0100 |
---|---|---|
committer | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-12-17 17:23:55 +0100 |
commit | 7dff2fbad3cb10b55464c919442545c48332f12c (patch) | |
tree | c8078521ee8a79e003a5cbd76792730130fe03ad /xhfc | |
parent | 4f0f1656375b3ceed6f6e09cef7e8f2aa81649fb (diff) |
prepend xivo to driver name
Diffstat (limited to 'xhfc')
-rw-r--r-- | xhfc/base.c | 4 | ||||
-rw-r--r-- | xhfc/xhfc.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xhfc/base.c b/xhfc/base.c index 9b0284e..6fa6766 100644 --- a/xhfc/base.c +++ b/xhfc/base.c @@ -922,7 +922,7 @@ void init_spans(struct xhfc* x) DAHDI_CONFIG_TERM | DAHDI_CONFIG_NTTE | DAHDI_CONFIG_AMI | DAHDI_CONFIG_CCS ; - sprintf(dahdi_span->name, "XHFC/%d", i+1); + sprintf(dahdi_span->name, "XiVO_XHFC/%d", i+1); sprintf(dahdi_span->desc, "XHFC port %d", i+1); dahdi_span->manufacturer = "Avencall"; dahdi_copy_string(dahdi_span->devicetype, "XHFC-4SU", @@ -942,7 +942,7 @@ void init_spans(struct xhfc* x) chan = xhfc_span->chans[j]; chan->pvt = x; - sprintf(chan->name, "XHFC/%d/%d", i + 1, j + 1); + sprintf(chan->name, "XiVO_XHFC/%d/%d", i + 1, j + 1); if (j == 2) { chan->sigcap = DAHDI_SIG_HARDHDLC; diff --git a/xhfc/xhfc.h b/xhfc/xhfc.h index b143044..01caef3 100644 --- a/xhfc/xhfc.h +++ b/xhfc/xhfc.h @@ -34,7 +34,7 @@ #include "xhfc24sucd.h" -#define DRIVER_NAME "xhfc" +#define DRIVER_NAME "xivoxhfc" #ifndef CHIP_ID_2S4U |