From a2149348e91b6aae7d52836e3ba9960a26e9e018 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 8 Mar 2011 20:42:44 +0000 Subject: [PATCH] =?UTF-8?q?patch=20by=20=C3=98yvind=20Harboe=20to=20make?= =?UTF-8?q?=20normal=20svf=20progress=20output=20a=20bit=20less=20noisy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1901 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 5 +++++ urjtag/THANKS | 1 + urjtag/src/tap/cable/generic.c | 12 ++++++------ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 2092fd53..5d77c667 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,3 +1,8 @@ +2011-03-07 Mike Frysinger + + * src/tap/cable/generic.c (do_one_queued_action): Move debug statements to + debug log level. Patch by Øyvind Harboe. + 2011-03-07 Mike Frysinger * src/tap/cable/jim.c: Update get/set prototypes enough so that the code diff --git a/urjtag/THANKS b/urjtag/THANKS index e1b7a298..f95fb40d 100644 --- a/urjtag/THANKS +++ b/urjtag/THANKS @@ -35,6 +35,7 @@ Mike Frysinger Robin Getz Stephane Glondu Christophe Grenier +Øyvind Harboe Michael Hennerich Uwe Hermann Sebastian Hesselbarth diff --git a/urjtag/src/tap/cable/generic.c b/urjtag/src/tap/cable/generic.c index c8e9c854..34c05d73 100644 --- a/urjtag/src/tap/cable/generic.c +++ b/urjtag/src/tap/cable/generic.c @@ -88,7 +88,7 @@ do_one_queued_action (urj_cable_t *cable) { int i; - urj_log (URJ_LOG_LEVEL_DETAIL, "do_one_queued\n"); + urj_log (URJ_LOG_LEVEL_DEBUG, "do_one_queued\n"); if ((i = urj_tap_cable_get_queue_item (cable, &cable->todo)) >= 0) { @@ -136,7 +136,7 @@ do_one_queued_action (urj_cable_t *cable) { /* @@@@ RFHH check result */ j = urj_tap_cable_add_queue_item (cable, &cable->done); - urj_log (URJ_LOG_LEVEL_DETAIL, + urj_log (URJ_LOG_LEVEL_DEBUG, "add result from transfer to %p.%d (out=%p)\n", &cable->done, j, cable->todo.data[i].arg.transfer.out); @@ -152,7 +152,7 @@ do_one_queued_action (urj_cable_t *cable) case URJ_TAP_CABLE_GET_TDO: /* @@@@ RFHH check result */ j = urj_tap_cable_add_queue_item (cable, &cable->done); - urj_log (URJ_LOG_LEVEL_DETAIL, + urj_log (URJ_LOG_LEVEL_DEBUG, "add result from get_tdo to %p.%d\n", &cable->done, j); cable->done.data[j].action = URJ_TAP_CABLE_GET_TDO; cable->done.data[j].arg.value.val = @@ -161,7 +161,7 @@ do_one_queued_action (urj_cable_t *cable) case URJ_TAP_CABLE_GET_SIGNAL: /* @@@@ RFHH check result */ j = urj_tap_cable_add_queue_item (cable, &cable->done); - urj_log (URJ_LOG_LEVEL_DETAIL, + urj_log (URJ_LOG_LEVEL_DEBUG, "add result from get_signal to %p.%d\n", &cable->done, j); cable->done.data[j].action = URJ_TAP_CABLE_GET_SIGNAL; @@ -174,11 +174,11 @@ do_one_queued_action (urj_cable_t *cable) case URJ_TAP_CABLE_CLOCK_COMPACT: /* Turn off GCC warning */ break; } - urj_log (URJ_LOG_LEVEL_DETAIL, "do_one_queued done\n"); + urj_log (URJ_LOG_LEVEL_DEBUG, "do_one_queued done\n"); return 1; } - urj_log (URJ_LOG_LEVEL_DETAIL, "do_one_queued abort\n"); + urj_log (URJ_LOG_LEVEL_DEBUG, "do_one_queued abort\n"); return 0; }