diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-10-28 23:04:50 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-16 14:05:11 -0500 |
commit | 3a9622dc4659af44a8098a233f65c51e495ff0a5 (patch) | |
tree | 8e0dd5d1f31ad6a9047b0ba5faf26a3759d9e2fd /include/linux/acpi.h | |
parent | 70023de88c58a81a730ab4d13c51a30e537ec76e (diff) |
ACPI: cleanup pci_root _OSC code.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 3247e09db20d..535beecc37cf 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -263,7 +263,6 @@ struct acpi_osc_context { | |||
263 | #define OSC_QUERY_TYPE 0 | 263 | #define OSC_QUERY_TYPE 0 |
264 | #define OSC_SUPPORT_TYPE 1 | 264 | #define OSC_SUPPORT_TYPE 1 |
265 | #define OSC_CONTROL_TYPE 2 | 265 | #define OSC_CONTROL_TYPE 2 |
266 | #define OSC_SUPPORT_MASKS 0x1f | ||
267 | 266 | ||
268 | /* _OSC DW0 Definition */ | 267 | /* _OSC DW0 Definition */ |
269 | #define OSC_QUERY_ENABLE 1 | 268 | #define OSC_QUERY_ENABLE 1 |
@@ -274,12 +273,14 @@ struct acpi_osc_context { | |||
274 | 273 | ||
275 | acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context); | 274 | acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context); |
276 | 275 | ||
276 | /* PCI defined _OSC bits */ | ||
277 | /* _OSC DW1 Definition (OS Support Fields) */ | 277 | /* _OSC DW1 Definition (OS Support Fields) */ |
278 | #define OSC_EXT_PCI_CONFIG_SUPPORT 1 | 278 | #define OSC_EXT_PCI_CONFIG_SUPPORT 1 |
279 | #define OSC_ACTIVE_STATE_PWR_SUPPORT 2 | 279 | #define OSC_ACTIVE_STATE_PWR_SUPPORT 2 |
280 | #define OSC_CLOCK_PWR_CAPABILITY_SUPPORT 4 | 280 | #define OSC_CLOCK_PWR_CAPABILITY_SUPPORT 4 |
281 | #define OSC_PCI_SEGMENT_GROUPS_SUPPORT 8 | 281 | #define OSC_PCI_SEGMENT_GROUPS_SUPPORT 8 |
282 | #define OSC_MSI_SUPPORT 16 | 282 | #define OSC_MSI_SUPPORT 16 |
283 | #define OSC_PCI_SUPPORT_MASKS 0x1f | ||
283 | 284 | ||
284 | /* _OSC DW1 Definition (OS Control Fields) */ | 285 | /* _OSC DW1 Definition (OS Control Fields) */ |
285 | #define OSC_PCI_EXPRESS_NATIVE_HP_CONTROL 1 | 286 | #define OSC_PCI_EXPRESS_NATIVE_HP_CONTROL 1 |
@@ -288,7 +289,7 @@ acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context); | |||
288 | #define OSC_PCI_EXPRESS_AER_CONTROL 8 | 289 | #define OSC_PCI_EXPRESS_AER_CONTROL 8 |
289 | #define OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL 16 | 290 | #define OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL 16 |
290 | 291 | ||
291 | #define OSC_CONTROL_MASKS (OSC_PCI_EXPRESS_NATIVE_HP_CONTROL | \ | 292 | #define OSC_PCI_CONTROL_MASKS (OSC_PCI_EXPRESS_NATIVE_HP_CONTROL | \ |
292 | OSC_SHPC_NATIVE_HP_CONTROL | \ | 293 | OSC_SHPC_NATIVE_HP_CONTROL | \ |
293 | OSC_PCI_EXPRESS_PME_CONTROL | \ | 294 | OSC_PCI_EXPRESS_PME_CONTROL | \ |
294 | OSC_PCI_EXPRESS_AER_CONTROL | \ | 295 | OSC_PCI_EXPRESS_AER_CONTROL | \ |