summaryrefslogtreecommitdiff
path: root/drivers/dahdi
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2010-07-29 21:51:50 +0000
committerKinsey Moore <kmoore@digium.com>2010-07-29 21:51:50 +0000
commitbd99c7f4b5d7f27622fda5f219bd99794d933123 (patch)
tree3da3e64a770b466bd04677cf051de3023141acb5 /drivers/dahdi
parent65335677ad79333c7ee3635a6f2291a059450f37 (diff)
wctdm24xxp: don't report about VPM100s if none are present and warn the user when flashing firmware
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9050 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi')
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c
index eea2121..d5b6173 100644
--- a/drivers/dahdi/wctdm24xxp/base.c
+++ b/drivers/dahdi/wctdm24xxp/base.c
@@ -3762,7 +3762,9 @@ static int wctdm_vpm_init(struct wctdm *wc)
if (debug & DEBUG_ECHOCAN)
dev_info(&wc->vb.pdev->dev, "VPM100: Chip %d: ver %02x\n", x, ver);
if (ver != 0x33) {
- dev_info(&wc->vb.pdev->dev, "VPM100: %s\n", x ? "Inoperable" : "Not Present");
+ if (x)
+ dev_info(&wc->vb.pdev->dev,
+ "VPM100: Inoperable\n");
wc->vpm100 = 0;
return -ENODEV;
}
@@ -4467,6 +4469,9 @@ static int hx8_reload_application(struct wctdm *wc, const struct ha80000_firmwar
int ret = 0;
const int HYBRID_PAGE_COUNT = (sizeof(ha8_fw->data)) / HYBRID_PAGE_SIZE;
+ dev_info(&wc->vb.pdev->dev, "Reloading firmware. Do not power down "
+ "the system until the process is complete.\n");
+
BUG_ON(!ha8_fw);
might_sleep();