From owner-p4-projects@FreeBSD.ORG Fri Dec 5 12:59:21 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2AC6A16A4D0; Fri, 5 Dec 2003 12:59:21 -0800 (PST) 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 063AE16A4CE for ; Fri, 5 Dec 2003 12:59:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D5E243FDD for ; Fri, 5 Dec 2003 12:59:20 -0800 (PST) (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 hB5KxKXJ055858 for ; Fri, 5 Dec 2003 12:59:20 -0800 (PST) (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hB5KxJAe055855 for perforce@freebsd.org; Fri, 5 Dec 2003 12:59:19 -0800 (PST) (envelope-from jhb@freebsd.org) Date: Fri, 5 Dec 2003 12:59:19 -0800 (PST) Message-Id: <200312052059.hB5KxJAe055855@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 43464 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: Fri, 05 Dec 2003 20:59:21 -0000 http://perforce.freebsd.org/chv.cgi?CH=43464 Change 43464 by jhb@jhb_blue on 2003/12/05 12:59:01 More updates. Closer to working than I thought. In theory PCI devices should all just work now. Affected files ... .. //depot/projects/power/notes#10 edit Differences ... ==== //depot/projects/power/notes#10 (text+ko) ==== @@ -24,6 +24,10 @@ acpi_SetDevicePowerState(). We need to pre-register all the resources and consumers in a tree sweep though to do this properly. - Add tree sweep to register consumers and producers. + - Actually, just so long as we turn all devices on before probing them, + that should be sufficient. + - The generic PCI bus driver already does this + - Need to turn on all non-PCI devices then when we probe/attach. - define a bus method for powering up/down devices - bus_set_powerstate(parent, child, state) where state is on or off # actually on/off is insufficient for a power management daemon that