From owner-cvs-all@FreeBSD.ORG Sun Sep 11 19:28:32 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 ACBDA16A41F; Sun, 11 Sep 2005 19:28:32 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 802F643D45; Sun, 11 Sep 2005 19:28:32 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8BJSWSn066428; Sun, 11 Sep 2005 19:28:32 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8BJSWci066427; Sun, 11 Sep 2005 19:28:32 GMT (envelope-from imp) Message-Id: <200509111928.j8BJSWci066427@repoman.freebsd.org> From: Warner Losh Date: Sun, 11 Sep 2005 19:28:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/pci pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 19:28:32 -0000 imp 2005-09-11 19:28:31 UTC FreeBSD src repository 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. Laptop users wishing the benefits of powering down devices with no drivers will now need to set hw.pci.do_powerstate=1 in their /boot/loader.conf file. Some users will have devices that will prevent this setting (hence the need to make it default 0). Approved by: re@ (scottl) Revision Changes Path 1.292.2.2 +2 -2 src/sys/dev/pci/pci.c