From owner-cvs-src-old@FreeBSD.ORG Sun Feb 14 11:54:11 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C61B61065692 for ; Sun, 14 Feb 2010 11:54:11 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B4CF18FC08 for ; Sun, 14 Feb 2010 11:54:11 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o1EBsBWU009596 for ; Sun, 14 Feb 2010 11:54:11 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1EBsBux009595 for cvs-src-old@freebsd.org; Sun, 14 Feb 2010 11:54:11 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <201002141154.o1EBsBux009595@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Sun, 14 Feb 2010 11:53:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/sound/pcm dsp.c mixer.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2010 11:54:11 -0000 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