diff options
Diffstat (limited to 'wctdm24xxp/base.c')
-rw-r--r-- | wctdm24xxp/base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wctdm24xxp/base.c b/wctdm24xxp/base.c index b46e0af..d2c4368 100644 --- a/wctdm24xxp/base.c +++ b/wctdm24xxp/base.c @@ -3051,6 +3051,10 @@ static int wctdm_initialize(struct wctdm *wc) wc->dev->bus->number, PCI_SLOT(wc->dev->devfn) + 1); wc->span.manufacturer = "Digium"; strncpy(wc->span.devicetype, wc->variety, sizeof(wc->span.devicetype) - 1); + if (wc->vpm) + strncat(wc->span.devicetype, " with VPM100M", sizeof(wc->span.devicetype) - 1); + else if (wc->vpm150m) + strncat(wc->span.devicetype, " with VPMADT032", sizeof(wc->span.devicetype) - 1); if (alawoverride) { printk("ALAW override parameter detected. Device will be operating in ALAW\n"); wc->span.deflaw = ZT_LAW_ALAW; |