From owner-cvs-all@FreeBSD.ORG Sun Sep 18 14:15:18 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1B9016A420 for ; Sun, 18 Sep 2005 14:15:18 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD74043D49 for ; Sun, 18 Sep 2005 14:15:17 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so278963wxd for ; Sun, 18 Sep 2005 07:15:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QK7Ay81NSR1sSKsbQ3c5QNLg/bOziLeEJDLIq2s9uyaz14RYHKFjw+VaTu6gteVX6ptlib11sZ8Hh85YyXEDeBnr1NQLwCNragMn9A2yaYPOemsPgM5ottUsc1O0ecr4PhS3MlTdV94gaT7kitV6lRVD9nYQ+zKwOlPmWd9MUaw= Received: by 10.70.80.1 with SMTP id d1mr918279wxb; Sun, 18 Sep 2005 07:15:16 -0700 (PDT) Received: by 10.70.10.5 with HTTP; Sun, 18 Sep 2005 07:15:16 -0700 (PDT) Message-ID: <70e8236f0509180715406f1f31@mail.gmail.com> Date: Sun, 18 Sep 2005 15:15:16 +0100 From: Joao Barros To: Warner Losh In-Reply-To: <200509111928.j8BJSWci066427@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200509111928.j8BJSWci066427@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/pci pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joao.barros@gmail.com List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 14:15:19 -0000 On 9/11/05, Warner Losh wrote: > imp 2005-09-11 19:28:31 UTC >=20 > FreeBSD src repository >=20 > Modified files: (Branch: RELENG_6) > sys/dev/pci pci.c > Log: > Change the default of pci_do_powerstate to 0, per request from re@. > The number of raid controllers that violate the WHQL seems to be > growing in number and not isolated to old versions as previously > thought. Though the numbers of these seen in the wild is still > relatively small, they hang the system when parts of their devices are > powered down. The one area that these parts appear often are in the > higher end servers. As such, be conservative about powering down > devices that have no driver attached by default. Until a better > approach is proven in current, this is the prudent choice. >=20 > Laptop users wishing the benefits of powering down devices with no > drivers will now need to set hw.pci.do_powerstate=3D1 in their > /boot/loader.conf file. Some users will have devices that will > prevent this setting (hence the need to make it default 0). >=20 > Approved by: re@ (scottl) >=20 > Revision Changes Path > 1.292.2.2 +2 -2 src/sys/dev/pci/pci.c > _______________________________________________ > cvs-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-all > To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" >=20 I was reading the Release Notes for 6.0 on http://www.freebsd.org/relnotes/6-STABLE/relnotes/i386/article.html and noticed: 2.2.2 Hardware Support The acpi(4) driver now turns the ACPI and PCI devices off or to a lower power state when suspending, and back on again when resuming. This behavior can be disabled by setting the debug.acpi.do_powerstate and hw.pci.do_powerstate sysctls to 0. Given this is the same tunable you changed back to 0 by default, does that "when resuming" has anything to do with this last commit? If so, it could still be mentioned the other way around, allowing people wanting to, to enable the tunable :) -- Joao Barros