summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-11-10 00:41:39 +0000
committerimp <imp@FreeBSD.org>2004-11-10 00:41:39 +0000
commit5bf0e6b98aa1b84812748e27864ada93a483171f (patch)
tree12d2d7cd2456a09ce8fffdab512398a10eacd7a6 /sys/dev/pci
parent8c126525fee1bb37183e14c6e7f114bd5184aa91 (diff)
downloadFreeBSD-src-5bf0e6b98aa1b84812748e27864ada93a483171f.zip
FreeBSD-src-5bf0e6b98aa1b84812748e27864ada93a483171f.tar.gz
Make pci_do_powerstate default to 1 now that we've done the release to
get more testing. This should help things a little.
Diffstat (limited to 'sys/dev/pci')
-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 5acf97b..731309b 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,
"Power down devices into D3 state when no driver attaches to them.\n\
Otherwise, leave the device in D0 state when no driver attaches.");
OpenPOWER on IntegriCloud