summaryrefslogtreecommitdiff
path: root/wctdm.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-10-03 19:22:20 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-10-03 19:22:20 +0000
commitf062dbb1c9cc4991938a144bc5d1125fad1904dc (patch)
tree2605ace704b91e9f092a09f8a9a32aeba0d172a3 /wctdm.c
parent56381afe6d3cb96ef12e6454e8f2b9a780333811 (diff)
Print value of VBAT on failure
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@250 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.c')
-rwxr-xr-xwctdm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/wctdm.c b/wctdm.c
index f0b99c5..22702a0 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -624,8 +624,9 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast)
}
if (vbat < 0xc0) {
- printk("ProSLIC on module %d failed to powerup within %d ms\n",
- card, (int)(((jiffies - origjiffies) * 1000 / HZ)));
+ printk("ProSLIC on module %d failed to powerup within %d ms (%d mV only)\n",
+ card, (int)(((jiffies - origjiffies) * 1000 / HZ)),
+ vbat * 375);
return -1;
} else if (debug) {
printk("ProSLIC on module %d powered up to -%d volts (%02x) in %d ms\n",