Date: Wed, 24 Jun 2009 18:24:20 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194872 - head/tools/tools/ath/athpoke Message-ID: <200906241824.n5OIOKU4023727@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Wed Jun 24 18:24:20 2009 New Revision: 194872 URL: http://svn.freebsd.org/changeset/base/194872 Log: read back the written value and display Modified: head/tools/tools/ath/athpoke/athpoke.c Modified: head/tools/tools/ath/athpoke/athpoke.c ============================================================================== --- head/tools/tools/ath/athpoke/athpoke.c Wed Jun 24 18:21:37 2009 (r194871) +++ head/tools/tools/ath/athpoke/athpoke.c Wed Jun 24 18:24:20 2009 (r194872) @@ -105,8 +105,7 @@ main(int argc, char *argv[]) reg = (dr != NULL) ? dr->addr : (uint32_t) strtoul(argv[0], NULL, 0); if (cp != NULL) regwrite(s, &atd, reg, (uint32_t) strtoul(cp, NULL, 0)); - else - printf("%s = %08x\n", argv[0], regread(s, &atd, reg)); + printf("%s = %08x\n", argv[0], regread(s, &atd, reg)); } return 0; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906241824.n5OIOKU4023727>