Date: Sun, 14 Feb 2010 11:53:51 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/sound/pcm dsp.c mixer.c Message-ID: <201002141154.o1EBsBux009595@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2010-02-14 11:53:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/sound/pcm dsp.c mixer.c Log: SVN rev 203860 on 2010-02-14 11:53:51Z by mav MFC r202150, r202170: Make OSS_GETVERSION ioctl really work. It has 'M' group, not 'P', as different nearby ones, and was grabbed by MIXER_xxx() handler. While there, replace '(cmd & MIXER_xxx(0)) == MIXER_xxx(0)' expressions with more correct '(cmd & ~0xff) == MIXER_xxx(0)'. Use of bit operations to compare numeric fields doesn't looks sane. Revision Changes Path 1.114.2.2 +8 -4 src/sys/dev/sound/pcm/dsp.c 1.66.2.3 +28 -38 src/sys/dev/sound/pcm/mixer.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002141154.o1EBsBux009595>