Date: Tue, 5 Apr 2011 16:14:54 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r220367 - head/sys/dev/ath Message-ID: <201104051614.p35GEton023561@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Tue Apr 5 16:14:54 2011 New Revision: 220367 URL: http://svn.freebsd.org/changeset/base/220367 Log: Make the alq log path tunable Modified: head/sys/dev/ath/ah_osdep.c Modified: head/sys/dev/ath/ah_osdep.c ============================================================================== --- head/sys/dev/ath/ah_osdep.c Tue Apr 5 16:12:38 2011 (r220366) +++ head/sys/dev/ath/ah_osdep.c Tue Apr 5 16:14:54 2011 (r220367) @@ -173,7 +173,11 @@ DO_HALDEBUG(struct ath_hal *ah, u_int ma static struct alq *ath_hal_alq; static int ath_hal_alq_emitdev; /* need to emit DEVICE record */ static u_int ath_hal_alq_lost; /* count of lost records */ -static const char *ath_hal_logfile = "/tmp/ath_hal.log"; +static char ath_hal_logfile[MAXPATHLEN] = "/tmp/ath_hal.log"; + +SYSCTL_STRING(_hw_ath_hal, OID_AUTO, alq_logfile, CTLFLAG_RW, + &ath_hal_logfile, sizeof(kernelname), "Name of ALQ logfile"); + static u_int ath_hal_alq_qsize = 64*1024; static int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104051614.p35GEton023561>