summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-11-09 18:11:06 +0000
committerShaun Ruffell <sruffell@digium.com>2009-11-09 18:11:06 +0000
commit69a273fd5b6082283335eb4fb6bda1c29310d693 (patch)
treea947324f41107553da256e675c98f43a796cf5d8 /drivers/dahdi/wcte12xp/base.c
parent81dc74462fffe74712a1d8392f0af2e19f78cf20 (diff)
wcte12xp: use the dev_xxx macro for the debounce messages.
We want to know which device is reporting the debounce when there are more than one card in the system. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7536 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/base.c')
-rw-r--r--drivers/dahdi/wcte12xp/base.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index 7bf392d..70f6fe3 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -1477,7 +1477,7 @@ static inline void t1_check_alarms(struct t1 *wc)
else {
if (unlikely(debug && !wc->alarmcount)) {
/* starting to debounce LOF/LFA */
- module_printk("LOF/LFA detected but "
+ t1_info(wc, "LOF/LFA detected but "
"debouncing for %d ms\n",
alarmdebounce);
}
@@ -1492,7 +1492,7 @@ static inline void t1_check_alarms(struct t1 *wc)
else {
if (unlikely(debug && !wc->losalarmcount)) {
/* starting to debounce LOS */
- module_printk("LOS detected but debouncing "
+ t1_info(wc, "LOS detected but debouncing "
"for %d ms\n", losalarmdebounce);
}
wc->losalarmcount++;
@@ -1506,7 +1506,7 @@ static inline void t1_check_alarms(struct t1 *wc)
else {
if (unlikely(debug && !wc->aisalarmcount)) {
/* starting to debounce AIS */
- module_printk("AIS detected but debouncing "
+ t1_info(wc, "AIS detected but debouncing "
"for %d ms\n", aisalarmdebounce);
}
wc->aisalarmcount++;
@@ -1544,7 +1544,7 @@ static inline void t1_check_alarms(struct t1 *wc)
else {
if (unlikely(debug && !wc->yelalarmcount)) {
/* starting to debounce AIS */
- module_printk("yelllow (RAI) detected but "
+ t1_info(wc, "yelllow (RAI) detected but "
"debouncing for %d ms\n",
yelalarmdebounce);
}