summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-04-14 17:52:08 +0000
committerimp <imp@FreeBSD.org>2004-04-14 17:52:08 +0000
commitd64ad0ac503d86d049796f7d7496526f91acb7c7 (patch)
treeb9ddfc652808775d583e0963fe22c064921b21fa /sys
parent973a760dd64e43a3ae275e777ab2433bfea4afe5 (diff)
downloadFreeBSD-src-d64ad0ac503d86d049796f7d7496526f91acb7c7.zip
FreeBSD-src-d64ad0ac503d86d049796f7d7496526f91acb7c7.tar.gz
Now that the dust has settled on the resource issues, turn on the
power parts of my patches and see what breaks. Don't (yet) throw the chatty messages behind a if (bootverbose).
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index c82d1d1..6e728b4 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -176,10 +176,10 @@ SYSCTL_INT(_hw_pci, OID_AUTO, enable_io_modes, CTLFLAG_RW,
enable these bits correctly. We'd like to do this all the time, but there\n\
are some peripherals that this causes problems with.");
-static int pci_do_powerstate = 0;
+static int pci_do_powerstate = 1;
TUNABLE_INT("hw.pci.do_powerstate", (int *)&pci_do_powerstate);
SYSCTL_INT(_hw_pci, OID_AUTO, do_powerstate, CTLFLAG_RW,
- &pci_do_powerstate, 0,
+ &pci_do_powerstate, 1,
"Enable setting the power states of the PCI devices. This means that we\n\
set devices into D0 before probe/attach, and D3 if they fail to attach. It\n\
also means we set devices into D3 state before shutdown.");
OpenPOWER on IntegriCloud