From patchwork Tue Apr 26 15:06:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naga Chumbalkar X-Patchwork-Id: 732932 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3QF6Qe3008350 for ; Tue, 26 Apr 2011 15:06:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756169Ab1DZPGZ (ORCPT ); Tue, 26 Apr 2011 11:06:25 -0400 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:10482 "EHLO g6t0184.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756095Ab1DZPGZ (ORCPT ); Tue, 26 Apr 2011 11:06:25 -0400 Received: from g5t0030.atlanta.hp.com (g5t0030.atlanta.hp.com [16.228.8.142]) by g6t0184.atlanta.hp.com (Postfix) with ESMTP id B8B62C9BB; Tue, 26 Apr 2011 15:06:22 +0000 (UTC) Received: from nchumbalkar.americas.hpqcorp.net (unknown [16.84.209.17]) by g5t0030.atlanta.hp.com (Postfix) with ESMTP id 52ECF1407C; Tue, 26 Apr 2011 15:06:22 +0000 (UTC) From: Naga Chumbalkar To: len.brown@intel.com Cc: linux-acpi@vger.kernel.org, Naga Chumbalkar Message-Id: <20110426150105.3041.66845.sendpatchset@nchumbalkar.americas.hpqcorp.net> Subject: [PATCH]: ACPI: Fix comments that describe the DWORDs for _OSC Date: Tue, 26 Apr 2011 15:06:22 +0000 (UTC) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 26 Apr 2011 15:06:27 +0000 (UTC) Made the _OSC comments more helpful to someone viewing the source. Signed-off-by: Naga Chumbalkar --- -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/acpi.h b/include/linux/acpi.h index a2e910e..cdc8739 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -275,6 +275,7 @@ struct acpi_osc_context { acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context); /* platform-wide _OSC bits */ +/* _OSC DW1 Definition (OS Support Fields) */ #define OSC_SB_PAD_SUPPORT 1 #define OSC_SB_PPC_OST_SUPPORT 2 #define OSC_SB_PR3_SUPPORT 4 @@ -290,7 +291,7 @@ acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context); #define OSC_MSI_SUPPORT 16 #define OSC_PCI_SUPPORT_MASKS 0x1f -/* _OSC DW1 Definition (OS Control Fields) */ +/* _OSC DW2 Definition (OS Control Fields) */ #define OSC_PCI_EXPRESS_NATIVE_HP_CONTROL 1 #define OSC_SHPC_NATIVE_HP_CONTROL 2 #define OSC_PCI_EXPRESS_PME_CONTROL 4