From owner-p4-projects@FreeBSD.ORG Wed Sep 24 11:06:40 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3D83616A4C0; Wed, 24 Sep 2003 11:06:40 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12ED216A4B3 for ; Wed, 24 Sep 2003 11:06:40 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AAD04400F for ; Wed, 24 Sep 2003 11:06:39 -0700 (PDT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h8OI6dXJ099477 for ; Wed, 24 Sep 2003 11:06:39 -0700 (PDT) (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8OI6clh099474 for perforce@freebsd.org; Wed, 24 Sep 2003 11:06:38 -0700 (PDT) (envelope-from jhb@freebsd.org) Date: Wed, 24 Sep 2003 11:06:38 -0700 (PDT) Message-Id: <200309241806.h8OI6clh099474@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Subject: PERFORCE change 38521 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 18:06:40 -0000 http://perforce.freebsd.org/chv.cgi?CH=38521 Change 38521 by jhb@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