hwacpi.c (102550) | hwacpi.c (114237) |
---|---|
1 2/****************************************************************************** 3 * 4 * Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface | 1 2/****************************************************************************** 3 * 4 * Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface |
5 * $Revision: 60 $ | 5 * $Revision: 62 $ |
6 * 7 *****************************************************************************/ 8 9/****************************************************************************** 10 * 11 * 1. Copyright Notice 12 * | 6 * 7 *****************************************************************************/ 8 9/****************************************************************************** 10 * 11 * 1. Copyright Notice 12 * |
13 * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp. | 13 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp. |
14 * All rights reserved. 15 * 16 * 2. License 17 * 18 * 2.1. This is your license from Intel Corp. under its intellectual property 19 * rights. You may have additional license terms from the party that provided 20 * you this software, covering your right to use that party's intellectual 21 * property rights. --- 169 unchanged lines hidden (view full) --- 191 ACPI_FUNCTION_TRACE ("HwSetMode"); 192 193 /* 194 * ACPI 2.0 clarified that if SMI_CMD in FADT is zero, 195 * system does not support mode transition. 196 */ 197 if (!AcpiGbl_FADT->SmiCmd) 198 { | 14 * All rights reserved. 15 * 16 * 2. License 17 * 18 * 2.1. This is your license from Intel Corp. under its intellectual property 19 * rights. You may have additional license terms from the party that provided 20 * you this software, covering your right to use that party's intellectual 21 * property rights. --- 169 unchanged lines hidden (view full) --- 191 ACPI_FUNCTION_TRACE ("HwSetMode"); 192 193 /* 194 * ACPI 2.0 clarified that if SMI_CMD in FADT is zero, 195 * system does not support mode transition. 196 */ 197 if (!AcpiGbl_FADT->SmiCmd) 198 { |
199 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "No SMI_CMD in FADT, mode transition failed.\n")); | 199 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "No SMI_CMD in FADT, mode transition failed.\n")); |
200 return_ACPI_STATUS (AE_NO_HARDWARE_RESPONSE); 201 } 202 203 /* 204 * ACPI 2.0 clarified the meaning of ACPI_ENABLE and ACPI_DISABLE 205 * in FADT: If it is zero, enabling or disabling is not supported. 206 * As old systems may have used zero for mode transition, 207 * we make sure both the numbers are zero to determine these --- 100 unchanged lines hidden --- | 200 return_ACPI_STATUS (AE_NO_HARDWARE_RESPONSE); 201 } 202 203 /* 204 * ACPI 2.0 clarified the meaning of ACPI_ENABLE and ACPI_DISABLE 205 * in FADT: If it is zero, enabling or disabling is not supported. 206 * As old systems may have used zero for mode transition, 207 * we make sure both the numbers are zero to determine these --- 100 unchanged lines hidden --- |