diff options
author | Kinsey Moore <kmoore@digium.com> | 2010-07-29 21:51:53 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2010-07-29 21:51:53 +0000 |
commit | 9adfdbdcb27f7b797e0802937f428a4cb8792bdc (patch) | |
tree | 2c11ace6ebd8e7c3e920066584d0dc8f6fa5826f /drivers | |
parent | 4e0e39b2c25f746e343030322f8135aa1539f60a (diff) |
wctdm24xxp: correct references to "wildcard" and display the number of BRI spans and analog channels after detection
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9053 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index d5b6173..61707b3 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -4899,10 +4899,10 @@ __wctdm_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) wc->initialized = 1; dev_info(&wc->vb.pdev->dev, - "Found a Wildcard TDM: %s (%d digital %s, %d analog %s)\n", - wc->desc->name, digimods, - (digimods == 1) ? "module" : "modules", anamods, - (anamods == 1) ? "module" : "modules"); + "Found a %s: %s (%d BRI spans, %d analog %s)\n", + (is_hx8(wc)) ? "Hybrid card" : "Wildcard TDM", + wc->desc->name, digimods*4, anamods, + (anamods == 1) ? "channel" : "channels"); ret = 0; voicebus_unlock_latency(&wc->vb); @@ -4995,7 +4995,8 @@ static void __devexit wctdm_remove_one(struct pci_dev *pdev) wc->vpmadt032 = NULL; } - dev_info(&wc->vb.pdev->dev, "Freed a Wildcard\n"); + dev_info(&wc->vb.pdev->dev, "Freed a %s\n", + (is_hx8(wc)) ? "Hybrid card" : "Wildcard"); /* Release span */ wctdm_release(wc); } |