From patchwork Wed Jul 25 03:41:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 1234741 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 9A81FDFFC0 for ; Wed, 25 Jul 2012 03:47:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932983Ab2GYDrN (ORCPT ); Tue, 24 Jul 2012 23:47:13 -0400 Received: from mail-qa0-f53.google.com ([209.85.216.53]:52413 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932979Ab2GYDnS (ORCPT ); Tue, 24 Jul 2012 23:43:18 -0400 Received: by mail-qa0-f53.google.com with SMTP id s11so247432qaa.19 for ; Tue, 24 Jul 2012 20:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:reply-to:organization; bh=3ZOVMwl27VmCSIKDpN2zJQEiVLWxvaHJTEiBG5e2cJw=; b=JGkRO/qSZQ5MXD10ovyzoTSBQTsnkQAVfz+NOwDfDpNFuCPQFRXSgW0SRzNu7ng3Pr A13TXeltaypl2JYv3KYWPLRl/CDLv/zrRX5ACRQJ2Dv203+yUR+qoOjV5jWVcqCE9OEj q7MRyTZ5wlIe5mqiGVsOW0TR6/RBKKaxItmGWHioEFEGVeqdSguNPyuZldMKUhyXm5pv Z8dynH5JESWiBi4BQneShuGG7n7Fzr1NsxIK6BbooO/2mqZ28PAyQsWk/tDd3K0UP9fI tSMz/xKADrNix3tcprRKGOPDjiE73Z1JaUICZJONDYmi9wWPhtWl5LxHqzrEE97dsW0I d9qA== Received: by 10.229.135.209 with SMTP id o17mr10440363qct.4.1343187798030; Tue, 24 Jul 2012 20:43:18 -0700 (PDT) Received: from x980.localdomain6 (h184-61-125-197.altnnh.dsl.dynamic.tds.net. [184.61.125.197]) by mx.google.com with ESMTPS id et6sm15489186qab.8.2012.07.24.20.43.16 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 20:43:17 -0700 (PDT) From: Len Brown To: linux-acpi@vger.kernel.org, linux-pm@lists.linux-foundation.org Cc: linux-kernel@vger.kernel.org, Bob Moore , Lin Ming , Len Brown Subject: [PATCH 41/52] ACPICA: Add PCC address space to space ID decode function Date: Tue, 24 Jul 2012 23:41:37 -0400 Message-Id: <540b85ab223f00e9715cee0f7a205f636b5eb4b8.1343187617.git.len.brown@intel.com> X-Mailer: git-send-email 1.7.12.rc0 In-Reply-To: <1343187708-19532-1-git-send-email-lenb@kernel.org> References: <1343187708-19532-1-git-send-email-lenb@kernel.org> In-Reply-To: <6af1c4fc5227af65092ebc848989693562bfa3e8.1343187617.git.len.brown@intel.com> References: <6af1c4fc5227af65092ebc848989693562bfa3e8.1343187617.git.len.brown@intel.com> Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Bob Moore ACPI 5.0 added PCC space ID. Signed-off-by: Bob Moore Signed-off-by: Lin Ming Signed-off-by: Len Brown --- drivers/acpi/acpica/utdecode.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/acpi/acpica/utdecode.c b/drivers/acpi/acpica/utdecode.c index c8c130c..28134ae 100644 --- a/drivers/acpi/acpica/utdecode.c +++ b/drivers/acpi/acpica/utdecode.c @@ -129,16 +129,17 @@ char acpi_ut_hex_to_ascii_char(u64 integer, u32 position) /* Region type decoding */ const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS] = { - "SystemMemory", - "SystemIO", - "PCI_Config", - "EmbeddedControl", - "SMBus", - "SystemCMOS", - "PCIBARTarget", - "IPMI", - "GeneralPurposeIo", - "GenericSerialBus" + "SystemMemory", /* 0x00 */ + "SystemIO", /* 0x01 */ + "PCI_Config", /* 0x02 */ + "EmbeddedControl", /* 0x03 */ + "SMBus", /* 0x04 */ + "SystemCMOS", /* 0x05 */ + "PCIBARTarget", /* 0x06 */ + "IPMI", /* 0x07 */ + "GeneralPurposeIo", /* 0x08 */ + "GenericSerialBus", /* 0x09 */ + "PCC" /* 0x0A */ }; char *acpi_ut_get_region_name(u8 space_id)