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:
parent
053a2b550f
commit
4ae6f4a64e
@ -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\
|
enable these bits correctly. We'd like to do this all the time, but there\n\
|
||||||
are some peripherals that this causes problems with.");
|
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);
|
TUNABLE_INT("hw.pci.do_powerstate", (int *)&pci_do_powerstate);
|
||||||
SYSCTL_INT(_hw_pci, OID_AUTO, do_powerstate, CTLFLAG_RW,
|
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\
|
"Power down devices into D3 state when no driver attaches to them.\n\
|
||||||
Otherwise, leave the device in D0 state when no driver attaches.");
|
Otherwise, leave the device in D0 state when no driver attaches.");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user