From 727c4814e6ceb7bbdc9e3af9bd29e74d478b9d69 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 8 Mar 2011 03:11:49 +0000 Subject: [PATCH] get the jim cable building again (prob needs a bit of work to make sure it runs correctly) git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1895 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 5 +++++ urjtag/src/tap/cable/jim.c | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index bd62121a..635dd8ac 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,3 +1,8 @@ +2011-03-07 Mike Frysinger + + * src/tap/cable/jim.c: Update get/set prototypes enough so that the code + will at least compile again. + 2011-02-24 Mike Frysinger * src/tap/cable/ft2232.c: Rename user-facing cable string from diff --git a/urjtag/src/tap/cable/jim.c b/urjtag/src/tap/cable/jim.c index 268789c4..9a828b30 100644 --- a/urjtag/src/tap/cable/jim.c +++ b/urjtag/src/tap/cable/jim.c @@ -132,19 +132,21 @@ jim_cable_get_tdo (urj_cable_t *cable) } static int -jim_cable_get_trst (urj_cable_t *cable) +jim_cable_get_trst (urj_cable_t *cable, urj_pod_sigsel_t sig) { + /* XXX: Doesn't handle sig ? */ jim_cable_params_t *jcp = cable->params; return urj_jim_get_trst (jcp->s); } static int -jim_cable_set_trst (urj_cable_t *cable, int trst) +jim_cable_set_trst (urj_cable_t *cable, int mask, int val) { + /* XXX: Doesn't handle mask ? */ jim_cable_params_t *jcp = cable->params; - urj_jim_set_trst (jcp->s, trst); + urj_jim_set_trst (jcp->s, val); return urj_jim_get_trst (jcp->s); }