From patchwork Tue Mar 13 15:20:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= X-Patchwork-Id: 146433 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F413FB6EEC for ; Wed, 14 Mar 2012 02:30:40 +1100 (EST) Received: from localhost ([::1]:42134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7TYl-00043T-Nz for incoming@patchwork.ozlabs.org; Tue, 13 Mar 2012 11:22:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7TXR-0000Su-8S for qemu-devel@nongnu.org; Tue, 13 Mar 2012 11:21:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7TXL-0003C1-4Y for qemu-devel@nongnu.org; Tue, 13 Mar 2012 11:21:24 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:37138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7TXK-00038q-Rg for qemu-devel@nongnu.org; Tue, 13 Mar 2012 11:21:19 -0400 Received: by mail-ey0-f173.google.com with SMTP id f11so352200eaa.4 for ; Tue, 13 Mar 2012 08:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=anqnwvSoZ9rYd039M8SV2ZBW9XOjUJ1U/XMz+1NHdvA=; b=fS5v7+KbH9CM/g8TMJ2G4Yxo2wlpZ9BIY42S7RnVcml/2T2MrTwmpxRCP4Gfzpy9NC fj2xwPeIZYV4viCW8u1b75Wm+Xhf13dyrf+IFh/vwzNcALRw84vtLJwXZjNDhRBprXRw xhxr5sD4p5CZo9T/7Elofiru0L+9DWUSdoA0EXmRy2b5fS4r8ogfRv4k2GW41p3b0wiR H+IXvtMeAXFNIg6z2H7K499sRDMfSEdUa0JvIyjuZQNS32HJKNFDN7Bay9zwMO6smXoC vnCeBysVDDIHP3UGgo/zfngsMlucZBNXDXmMWjI5r9O3eqCy/G465Ak+vxpk/cyG62QY XWEg== Received: by 10.213.112.133 with SMTP id w5mr1378118ebp.143.1331652077951; Tue, 13 Mar 2012 08:21:17 -0700 (PDT) Received: from localhost (254.pool85-58-48.dynamic.orange.es. [85.58.48.254]) by mx.google.com with ESMTPS id z47sm2966821een.5.2012.03.13.08.21.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Mar 2012 08:21:17 -0700 (PDT) From: "=?UTF-8?q?Marc-Andr=C3=A9=20Lureau?=" To: qemu-devel@nongnu.org Date: Tue, 13 Mar 2012 16:20:52 +0100 Message-Id: <1331652059-10090-5-git-send-email-marcandre.lureau@redhat.com> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1331652059-10090-1-git-send-email-marcandre.lureau@redhat.com> References: <1331652059-10090-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.173 Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , dnb@redhat.com, dlaor@redhat.com, kraxel@redhat.com Subject: [Qemu-devel] [PATCH v4 04/11] hw/ac97: the volume mask is not only 0x1f X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org It's a case by case (see Table 66. AC ‘97 Baseline Audio Register Map) Signed-off-by: Marc-André Lureau --- hw/ac97.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/ac97.c b/hw/ac97.c index f2804e6..f7866ed 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -118,7 +118,6 @@ enum { #define EACS_VRA 1 #define EACS_VRM 8 -#define VOL_MASK 0x1f #define MUTE_SHIFT 15 #define REC_MASK 7