Applied.
thanks,
-Len
On Friday 20 April 2007 12:56, Bjorn Helgaas wrote:
> Be explicit about what "device->status = 0x0F" really means.
>
> Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]>
>
> Index: w/drivers/acpi/scan.c
> ===================================================================
> --- w.orig/drivers/acpi/scan.c 2007-04-19 21:35:42.000000000 -0600
> +++ w/drivers/acpi/scan.c 2007-04-19 21:36:50.000000000 -0600
> @@ -1068,7 +1068,9 @@
> }
> break;
> default:
> - STRUCT_TO_INT(device->status) = 0x0F;
> + STRUCT_TO_INT(device->status) =
> + ACPI_STA_DEVICE_PRESENT | ACPI_STA_DEVICE_ENABLED |
> + ACPI_STA_DEVICE_UI | ACPI_STA_DEVICE_FUNCTIONING;
> break;
> }
>
> Index: w/drivers/acpi/bus.c
> ===================================================================
> --- w.orig/drivers/acpi/bus.c 2007-04-19 21:35:42.000000000 -0600
> +++ w/drivers/acpi/bus.c 2007-04-19 21:37:52.000000000 -0600
> @@ -103,7 +103,9 @@
> else if (device->parent)
> device->status = device->parent->status;
> else
> - STRUCT_TO_INT(device->status) = 0x0F;
> + STRUCT_TO_INT(device->status) =
> + ACPI_STA_DEVICE_PRESENT | ACPI_STA_DEVICE_ENABLED |
> + ACPI_STA_DEVICE_UI | ACPI_STA_DEVICE_FUNCTIONING;
>
> if (device->status.functional && !device->status.present) {
> printk(KERN_WARNING PREFIX "Device [%s] status [%08x]: "
>
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html