From patchwork Tue Apr 17 12:32:38 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: 153178 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 943A7B7069 for ; Tue, 17 Apr 2012 23:37:14 +1000 (EST) Received: from localhost ([::1]:38107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SK7bd-0002lk-3Y for incoming@patchwork.ozlabs.org; Tue, 17 Apr 2012 08:34:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SK7b3-00025H-OC for qemu-devel@nongnu.org; Tue, 17 Apr 2012 08:33:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SK7ax-0008Jx-KY for qemu-devel@nongnu.org; Tue, 17 Apr 2012 08:33:25 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:47043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SK7ax-0008AG-C8 for qemu-devel@nongnu.org; Tue, 17 Apr 2012 08:33:19 -0400 Received: by mail-pb0-f45.google.com with SMTP id uo5so8847635pbc.4 for ; Tue, 17 Apr 2012 05:33: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=+QOZ2eHZpqeqyIJEBRcKb6jkojjtxsAds0eN7b4Tiss=; b=rXo/pVR8xMyHBWSmWVAWaqpgd16MN6dTcrjAMV6lyHjtutY15JFbD8QkYmx9Kc/3Ou wvv2Sb8C4K3eEotcXC36Hv9Ydv0JCZT8SmU5l/8CwtBuTAp9rOx2QsP45x/RMDwubsVn Fz5MMxoruK+0d+iSQTiP88RCD6LV7+DhJ30pPPARYbPiCRY0WoIN2TsGnRbIXa5POFVP bOC5tcb6Q3AanFBMiN0cdMGM4jvLIPYUJl9wdganswbA1ylJ9SsyTpqGysF0pEHLUTNu 4Iq+ZVt6NnNNGEBWlCiQug0ho97SvUmHK+IxrayhEImTG66XdHzN0TF3UT3kg6Wzlz01 7Bpw== Received: by 10.68.217.201 with SMTP id pa9mr36029489pbc.73.1334665998526; Tue, 17 Apr 2012 05:33:18 -0700 (PDT) Received: from localhost (140.pool85-58-59.dynamic.orange.es. [85.58.59.140]) by mx.google.com with ESMTPS id q1sm20601648pbp.62.2012.04.17.05.33.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Apr 2012 05:33:17 -0700 (PDT) From: "=?UTF-8?q?Marc-Andr=C3=A9=20Lureau?=" To: qemu-devel@nongnu.org Date: Tue, 17 Apr 2012 14:32:38 +0200 Message-Id: <1334665964-3075-5-git-send-email-marcandre.lureau@redhat.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1334665964-3075-1-git-send-email-marcandre.lureau@redhat.com> References: <1334665964-3075-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.160.45 Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , dlaor@redhat.com, kraxel@redhat.com, areis@redhat.com 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 file changed, 1 deletion(-) 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