[dahdi-commits] tzafrir: linux/trunk r10287 - /linux/trunk/drivers/dahdi/xpp/
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Oct 26 14:09:12 CDT 2011
Author: tzafrir
Date: Wed Oct 26 14:09:09 2011
New Revision: 10287
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10287
Log:
xpp: cleanup some printk()'s
* Also demote them to DBG()
Signed-off-by: Oron Peled <oron.peled at xorcom.com>
Modified:
linux/trunk/drivers/dahdi/xpp/xbus-core.c
linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
Modified: linux/trunk/drivers/dahdi/xpp/xbus-core.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/xbus-core.c?view=diff&rev=10287&r1=10286&r2=10287
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xbus-core.c (original)
+++ linux/trunk/drivers/dahdi/xpp/xbus-core.c Wed Oct 26 14:09:09 2011
@@ -875,7 +875,7 @@
int i;
int offset = 0;
- XBUS_NOTICE(xbus, "Entering %s\n", __func__);
+ XBUS_DBG(DEVICES, xbus, "Entering %s\n", __func__);
xbus->ddev = dahdi_create_device();
/*
* This actually describe the dahdi_spaninfo version 3
Modified: linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c?view=diff&rev=10287&r1=10286&r2=10287
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c (original)
+++ linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c Wed Oct 26 14:09:09 2011
@@ -985,7 +985,6 @@
struct dahdi_span *span;
int i;
- XPD_NOTICE(xpd, "Initializing span(offset=%d): %d channels.\n", offset, cn);
memset(&PHONEDEV(xpd).span, 0, sizeof(struct dahdi_span));
for (i = 0; i < cn; i++)
memset(XPD_CHAN(xpd, i), 0, sizeof(struct dahdi_chan));
@@ -1029,7 +1028,8 @@
cn = PHONEDEV(xpd).channels;
xpd_init_span(xpd, offset, cn);
- XPD_DBG(GENERAL, xpd, "Registering span '%s'\n", PHONEDEV(xpd).span.desc);
+ XPD_DBG(DEVICES, xpd, "Preregister local span %d: %d channels.\n",
+ offset + 1, cn);
CALL_PHONE_METHOD(card_dahdi_preregistration, xpd, 1);
return 0;
}
More information about the dahdi-commits
mailing list