nsxfname.c (bf61c8840efe60fd8f91446860b63338fb424158) | nsxfname.c (a7d5caf6d21814a855422df75c2d8c093cb2019a) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: nsxfname - Public interfaces to the ACPI subsystem 4 * ACPI Namespace oriented interfaces 5 * 6 *****************************************************************************/ 7 8/* --- 365 unchanged lines hidden (view full) --- 374 375 /* Get the fixed-length data */ 376 377 if ((type == ACPI_TYPE_DEVICE) || (type == ACPI_TYPE_PROCESSOR)) { 378 /* 379 * Get extra info for ACPI Device/Processor objects only: 380 * Run the _STA, _ADR and, sx_w, and _sx_d methods. 381 * | 1/****************************************************************************** 2 * 3 * Module Name: nsxfname - Public interfaces to the ACPI subsystem 4 * ACPI Namespace oriented interfaces 5 * 6 *****************************************************************************/ 7 8/* --- 365 unchanged lines hidden (view full) --- 374 375 /* Get the fixed-length data */ 376 377 if ((type == ACPI_TYPE_DEVICE) || (type == ACPI_TYPE_PROCESSOR)) { 378 /* 379 * Get extra info for ACPI Device/Processor objects only: 380 * Run the _STA, _ADR and, sx_w, and _sx_d methods. 381 * |
382 * Note: none of these methods are required, so they may or may | 382 * Notes: none of these methods are required, so they may or may |
383 * not be present for this device. The Info->Valid bitfield is used 384 * to indicate which methods were found and run successfully. | 383 * not be present for this device. The Info->Valid bitfield is used 384 * to indicate which methods were found and run successfully. |
385 * 386 * For _STA, if the method does not exist, then (as per the ACPI 387 * specification), the returned current_status flags will indicate 388 * that the device is present/functional/enabled. Otherwise, the 389 * current_status flags reflect the value returned from _STA. |
|
385 */ 386 387 /* Execute the Device._STA method */ 388 389 status = acpi_ut_execute_STA(node, &info->current_status); 390 if (ACPI_SUCCESS(status)) { 391 valid |= ACPI_VALID_STA; 392 } --- 263 unchanged lines hidden --- | 390 */ 391 392 /* Execute the Device._STA method */ 393 394 status = acpi_ut_execute_STA(node, &info->current_status); 395 if (ACPI_SUCCESS(status)) { 396 valid |= ACPI_VALID_STA; 397 } --- 263 unchanged lines hidden --- |