Make pci_do_powerstate default to 1 now that we've done the release to

get more testing.  This should help things a little.
This commit is contained in:
Warner Losh 2004-11-10 00:41:39 +00:00
parent 053a2b550f
commit 4ae6f4a64e

View File

@ -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.");