aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-04-10 11:06:43 -0400
committerLen Brown <len.brown@intel.com>2008-04-22 14:29:31 -0400
commit1d5b285da1893b90507b081664ac27f1a8a3dc5b (patch)
treedebc9adbd1471bc86bc12d1bc0ff9875c86e30a0 /include/acpi
parent3fa347770a8a9cb3568600380ce4b5c041b3ac0b (diff)
ACPICA: Fix for resource descriptor optimization issues for _CRS/_SRC
Fixed a problem where resource descriptor size optimization could cause a problem when a _CRS resource template is passed to a _SRS method. The _SRS resource template must use the same descriptors (with the same size) as returned from _CRS. This change affects the following resource descriptors: IRQ/IRQNoFlags and StartDependendentFn/StartDependentFnNoPri. http://bugzilla.kernel.org/show_bug.cgi?id=9487 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acresrc.h1
-rw-r--r--include/acpi/actypes.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/acpi/acresrc.h b/include/acpi/acresrc.h
index 9486ab266a5e..33e9f3813220 100644
--- a/include/acpi/acresrc.h
+++ b/include/acpi/acresrc.h
@@ -94,6 +94,7 @@ typedef const struct acpi_rsconvert_info {
94#define ACPI_RSC_BITMASK16 18 94#define ACPI_RSC_BITMASK16 18
95#define ACPI_RSC_EXIT_NE 19 95#define ACPI_RSC_EXIT_NE 19
96#define ACPI_RSC_EXIT_LE 20 96#define ACPI_RSC_EXIT_LE 20
97#define ACPI_RSC_EXIT_EQ 21
97 98
98/* Resource Conversion sub-opcodes */ 99/* Resource Conversion sub-opcodes */
99 100
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index bb44700680a3..599657eac2d4 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -986,6 +986,7 @@ struct acpi_vendor_uuid {
986 * Structures used to describe device resources 986 * Structures used to describe device resources
987 */ 987 */
988struct acpi_resource_irq { 988struct acpi_resource_irq {
989 u8 descriptor_length;
989 u8 triggering; 990 u8 triggering;
990 u8 polarity; 991 u8 polarity;
991 u8 sharable; 992 u8 sharable;
@@ -1002,6 +1003,7 @@ struct acpi_resource_dma {
1002}; 1003};
1003 1004
1004struct acpi_resource_start_dependent { 1005struct acpi_resource_start_dependent {
1006 u8 descriptor_length;
1005 u8 compatibility_priority; 1007 u8 compatibility_priority;
1006 u8 performance_robustness; 1008 u8 performance_robustness;
1007}; 1009};