|
@@ -241,7 +241,7 @@ static char *acpi_ns_copy_device_id(struct acpi_pnp_device_id *dest,
|
|
* namespace node and possibly by running several standard
|
|
* namespace node and possibly by running several standard
|
|
* control methods (Such as in the case of a device.)
|
|
* control methods (Such as in the case of a device.)
|
|
*
|
|
*
|
|
- * For Device and Processor objects, run the Device _HID, _UID, _CID, _STA,
|
|
|
|
|
|
+ * For Device and Processor objects, run the Device _HID, _UID, _CID,
|
|
* _CLS, _ADR, _sx_w, and _sx_d methods.
|
|
* _CLS, _ADR, _sx_w, and _sx_d methods.
|
|
*
|
|
*
|
|
* Note: Allocates the return buffer, must be freed by the caller.
|
|
* Note: Allocates the return buffer, must be freed by the caller.
|
|
@@ -250,8 +250,9 @@ static char *acpi_ns_copy_device_id(struct acpi_pnp_device_id *dest,
|
|
* discovery namespace traversal. Therefore, no complex methods can be
|
|
* discovery namespace traversal. Therefore, no complex methods can be
|
|
* executed, especially those that access operation regions. Therefore, do
|
|
* executed, especially those that access operation regions. Therefore, do
|
|
* not add any additional methods that could cause problems in this area.
|
|
* not add any additional methods that could cause problems in this area.
|
|
- * this was the fate of the _SUB method which was found to cause such
|
|
|
|
- * problems and was removed (11/2015).
|
|
|
|
|
|
+ * Because of this reason support for the following methods has been removed:
|
|
|
|
+ * 1) _SUB method was removed (11/2015)
|
|
|
|
+ * 2) _STA method was removed (02/2018)
|
|
*
|
|
*
|
|
******************************************************************************/
|
|
******************************************************************************/
|
|
|
|
|
|
@@ -369,25 +370,13 @@ acpi_get_object_info(acpi_handle handle,
|
|
if ((type == ACPI_TYPE_DEVICE) || (type == ACPI_TYPE_PROCESSOR)) {
|
|
if ((type == ACPI_TYPE_DEVICE) || (type == ACPI_TYPE_PROCESSOR)) {
|
|
/*
|
|
/*
|
|
* Get extra info for ACPI Device/Processor objects only:
|
|
* Get extra info for ACPI Device/Processor objects only:
|
|
- * Run the _STA, _ADR and, sx_w, and _sx_d methods.
|
|
|
|
|
|
+ * Run the _ADR and, sx_w, and _sx_d methods.
|
|
*
|
|
*
|
|
* Notes: none of these methods are required, so they may or may
|
|
* Notes: none of these methods are required, so they may or may
|
|
* not be present for this device. The Info->Valid bitfield is used
|
|
* not be present for this device. The Info->Valid bitfield is used
|
|
* to indicate which methods were found and run successfully.
|
|
* to indicate which methods were found and run successfully.
|
|
- *
|
|
|
|
- * For _STA, if the method does not exist, then (as per the ACPI
|
|
|
|
- * specification), the returned current_status flags will indicate
|
|
|
|
- * that the device is present/functional/enabled. Otherwise, the
|
|
|
|
- * current_status flags reflect the value returned from _STA.
|
|
|
|
*/
|
|
*/
|
|
|
|
|
|
- /* Execute the Device._STA method */
|
|
|
|
-
|
|
|
|
- status = acpi_ut_execute_STA(node, &info->current_status);
|
|
|
|
- if (ACPI_SUCCESS(status)) {
|
|
|
|
- valid |= ACPI_VALID_STA;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/* Execute the Device._ADR method */
|
|
/* Execute the Device._ADR method */
|
|
|
|
|
|
status = acpi_ut_evaluate_numeric_object(METHOD_NAME__ADR, node,
|
|
status = acpi_ut_evaluate_numeric_object(METHOD_NAME__ADR, node,
|