summaryrefslogtreecommitdiff
path: root/xpp/pic_loader.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-09-27 12:57:43 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-09-27 12:57:43 +0000
commitce253b3046826c28d09b9e57aa6d8b014c24d822 (patch)
tree88c765922e5cd8bb94ee036ec99b4b233fd4525e /xpp/pic_loader.c
parent3d9bd0d3e77a9ea779a75722b652f4484a0b11a9 (diff)
xpp: reduce the clutter of firmware loading
Make the new XPP tools much less verbose: * demote messages to be debug * Convert multi-line messages to be single-line messages Making xpp_fxloader run in debug mode can be done by setting DEBUG=yes in /etc/dahdi/init.conf git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7221 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/pic_loader.c')
-rw-r--r--xpp/pic_loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpp/pic_loader.c b/xpp/pic_loader.c
index c74718e..f84c09b 100644
--- a/xpp/pic_loader.c
+++ b/xpp/pic_loader.c
@@ -187,7 +187,7 @@ static int pic_burn(struct astribank_device *astribank, const struct hexdata *he
ERR("Skip PIC burning (not USB2)\n");
return 0;
}
- INFO("Load PIC: %s\n", hexdata->fname);
+ INFO("Load PIC: %s (version %s)\n", hexdata->fname, hexdata->version_info);
basename = pic_basename(hexdata->fname, &card_type);
if(!basename) {
ERR("Bad PIC filename '%s'. Abort.\n", hexdata->fname);
@@ -251,7 +251,7 @@ int load_pic(struct astribank_device *astribank, int numfiles, char *filelist[])
{
int i;
- INFO("Loading %d PIC files...\n", numfiles);
+ DBG("Loading %d PIC files...\n", numfiles);
for(i = 0; i < numfiles; i++) {
struct hexdata *picdata;
const char *curr = filelist[i];