PERFORCE change 38521 for review

John Baldwin jhb at FreeBSD.org
Wed Sep 24 11:06:40 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=38521

Change 38521 by jhb at jhb_laptop on 2003/09/24 11:06:19

	Update.

Affected files ...

.. //depot/projects/power/notes#4 edit

Differences ...

==== //depot/projects/power/notes#4 (text+ko) ====

@@ -11,10 +11,15 @@
 - support PCI devices by detaching driver and going into D3 for off and
   D0 and re-attach for on
 - add support for ACPI devices using _PSx methods
-  - add ACPI device powerstate constants
-  - add ACPI helper functions for setting a device's powerstate via _PSx
-  - fix ACPI PCI bus driver to call _PSx outside of calling the default
+  + add ACPI device powerstate constants
+    + ACPI_STATE_Dx already exist
+  + add ACPI helper functions for getting and setting a device's
+    powerstate via _PSx
+  + fix ACPI PCI bus driver to call _PSx outside of calling the default
     PCI powerstate functions
+  - XXX: need to handle _PRx and _SxD !!
+    - We should be able to hook the power resource stuff up once we have
+      our power shadow tree in the acpi_SetPowerState() function.
 - convert to a model of suspending the device via device_suspend()/resume()
   rather than detach()/attach()
   - This may require fixes to drivers so that they continue to function


More information about the p4-projects mailing list