diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2015-03-24 16:31:22 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2015-03-24 16:31:22 +0000 |
commit | 32a0e5d55b2ec2eff34a50ade0d6019633bc0c86 (patch) | |
tree | 36bd8962efac4021fb12a0df5572b6bb841afc69 /sys/dev/sound/pcm/dsp.c | |
parent | efca16682d5175aa70b52a7866b3124ff5d2909b (diff) | |
download | src-32a0e5d55b2ec2eff34a50ade0d6019633bc0c86.tar.gz src-32a0e5d55b2ec2eff34a50ade0d6019633bc0c86.zip |
Make all PCM core sysctls tunable and remove redundant TUNABLE()
statements. This allows for setting all PCM core parameters in the
kernel environment through loader.conf(5) or kenv(1) which is useful
for pluggable PCM devices like USB audio devices which might be
plugged after that sysctl.conf(5) is executed.
Notes
Notes:
svn path=/head/; revision=280442
Diffstat (limited to 'sys/dev/sound/pcm/dsp.c')
-rw-r--r-- | sys/dev/sound/pcm/dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index 54ad75e13963..68204ff193e3 100644 --- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -44,7 +44,7 @@ SND_DECLARE_FILE("$FreeBSD$"); static int dsp_mmap_allow_prot_exec = 0; -SYSCTL_INT(_hw_snd, OID_AUTO, compat_linux_mmap, CTLFLAG_RW, +SYSCTL_INT(_hw_snd, OID_AUTO, compat_linux_mmap, CTLFLAG_RWTUN, &dsp_mmap_allow_prot_exec, 0, "linux mmap compatibility (-1=force disable 0=auto 1=force enable)"); |