diff options
| author | Warner Losh <imp@FreeBSD.org> | 2004-04-14 17:52:08 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2004-04-14 17:52:08 +0000 |
| commit | b0855e456e54462a15f2931903d9e25eb9265d9b (patch) | |
| tree | b9ddfc652808775d583e0963fe22c064921b21fa /sys | |
| parent | 865b8d0bfd7d7a8d70728e902d89d578b899a3bf (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index c82d1d16d54b6..6e728b43e75a6 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."); |
