From patchwork Thu Mar 22 15:21:32 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: 148275 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 C25C3B6F62 for ; Fri, 23 Mar 2012 02:59:23 +1100 (EST) Received: from localhost ([::1]:42363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAjqR-0007S4-7G for incoming@patchwork.ozlabs.org; Thu, 22 Mar 2012 11:22:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAjq1-0006xk-7B for qemu-devel@nongnu.org; Thu, 22 Mar 2012 11:22:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAjpu-0002NR-Gg for qemu-devel@nongnu.org; Thu, 22 Mar 2012 11:22:04 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:53761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAjpu-0002Fl-7H for qemu-devel@nongnu.org; Thu, 22 Mar 2012 11:21:58 -0400 Received: by mail-we0-f173.google.com with SMTP id p12so2237834wer.4 for ; Thu, 22 Mar 2012 08:21:57 -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=NRX1pxEi2zHL/R1oA5eMNjkuESYTp/Mts1K8vIT1zAofmaOOkW9B9XRHhc13a29MLD i6Kd6IiZAMz25c5l3+xtGgNXk2uRyRMD886sXCq2iTFDG3pqO5AEOIGyAgKuuWJFpVXB TMnkHOYDXtezUT9WF3phF1V6x0f1mbrTbPNkiWj4OUNiqnuDk2S7ucWaCMDYjlQdypYz jK7ppOzJwEXtNxegvwDellhQ1lvdW/J1SMDTh5tFM2O8Jr3hfvaE3G+Oj0Mye+9x3nIQ as/EwjI1WvJ41t0msxLOgZ9OBnHROKk54FI6viA+UElVaUTdudZWo/P7xEh9EmuRC7+G xBzw== Received: by 10.180.83.42 with SMTP id n10mr6154977wiy.9.1332429717364; Thu, 22 Mar 2012 08:21:57 -0700 (PDT) Received: from localhost (49.pool85-58-61.dynamic.orange.es. [85.58.61.49]) by mx.google.com with ESMTPS id fl2sm10018385wib.4.2012.03.22.08.21.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Mar 2012 08:21:55 -0700 (PDT) From: "=?UTF-8?q?Marc-Andr=C3=A9=20Lureau?=" To: qemu-devel@nongnu.org Date: Thu, 22 Mar 2012 16:21:32 +0100 Message-Id: <1332429698-10395-5-git-send-email-marcandre.lureau@redhat.com> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1332429698-10395-1-git-send-email-marcandre.lureau@redhat.com> References: <1332429698-10395-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: 74.125.82.173 Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [Qemu-devel] [PATCH 04/10] 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