diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-09-27 12:57:43 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-09-27 12:57:43 +0000 |
commit | ce253b3046826c28d09b9e57aa6d8b014c24d822 (patch) | |
tree | 88c765922e5cd8bb94ee036ec99b4b233fd4525e /xpp/astribank_hexload.c | |
parent | 3d9bd0d3e77a9ea779a75722b652f4484a0b11a9 (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/astribank_hexload.c')
-rw-r--r-- | xpp/astribank_hexload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpp/astribank_hexload.c b/xpp/astribank_hexload.c index 85cfd23..411bab2 100644 --- a/xpp/astribank_hexload.c +++ b/xpp/astribank_hexload.c @@ -82,7 +82,7 @@ static int load_fpga(struct astribank_device *astribank, const char *hexfile) perror(hexfile); return -errno; } - INFO("Loading FPGA firmware version %s\n", hexdata->version_info); + INFO("Loading FPGA: %s (version %s)\n", hexdata->fname, hexdata->version_info); #if 0 FILE *fp; if((fp = fopen("fpga_dump_new.txt", "w")) == NULL) { @@ -121,7 +121,7 @@ static int load_fpga(struct astribank_device *astribank, const char *hexfile) fclose(fp); #endif free_hexdata(hexdata); - INFO("FPGA firmware loaded successfully\n"); + DBG("FPGA firmware loaded successfully\n"); return 0; } |