>-----Original Message-----
>From: Li, Shaohua 
>Sent: Monday, April 02, 2007 1:38 AM
>To: linux acpi
>Cc: Brown, Len; Adam Belay; Pallipadi, Venkatesh
>Subject: [PATCH] acpi cpuidle driver should handle max_cstate
>
>After switching to cpuidle framework, acpi driver ingorned max_cstate,
>which will break ipw driver. Below patch fixed the issue. It's a little
>complicated, but this really should be handled in the driver instead of
>cpuidle core. If you have better fix, please speak.
>
>Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
>
> 
>-module_param(max_cstate, uint, 0644);
>+void acpi_max_cstate_changed(void)
>+{
>+      /* Driver will reset devices' max cstate limit */
>+      cpuidle_unregister_driver(&acpi_idle_driver);
>+      cpuidle_register_driver(&acpi_idle_driver);
>+}

Will a redetect work instead of unregister/register.

Thanks,
Venki
-
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

Reply via email to