Author: adrian
Date: Fri Jun 15 20:08:13 2012
New Revision: 237143
URL: http://svn.freebsd.org/changeset/base/237143
Log:
Convert athdebug to use the 64 bit dev.ath.X.debug sysctl.
Modified:
head/tools/tools/ath/athdebug/athdebug.c
Modified: head/tools/tools/ath/athdebug/athdebug.c
==============================================================================
--- head/tools/tools/ath/athdebug/athdebug.c Fri Jun 15 19:42:49 2012
(r237142)
+++ head/tools/tools/ath/athdebug/athdebug.c Fri Jun 15 20:08:13 2012
(r237143)
@@ -51,6 +51,7 @@
const char *progname;
+/* XXX TODO: include if_ath_debug.h */
enum {
ATH_DEBUG_XMIT = 0x00000001, /* basic xmit operation */
ATH_DEBUG_XMIT_DESC = 0x00000002, /* xmit descriptors */
@@ -81,7 +82,7 @@ enum {
static struct {
const char *name;
- u_int bit;
+ uint64_t bit;
} flags[] = {
{ "xmit", ATH_DEBUG_XMIT },
{ "xmit_desc", ATH_DEBUG_XMIT_DESC },
@@ -109,7 +110,7 @@ static struct {
{ "fatal", ATH_DEBUG_FATAL },
};
-static u_int
+static uint64_t
getflag(const char *name, int len)
{
int i;
@@ -150,7 +151,7 @@ main(int argc, char *argv[])
const char *cp, *tp;
const char *sep;
int c, op, i;
- u_int32_t debug, ndebug;
+ uint64_t debug, ndebug;
size_t debuglen;
char oid[256];
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"