aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-04-16 15:01:54 +0000
committerWarner Losh <imp@FreeBSD.org>2004-04-16 15:01:54 +0000
commitf77ad99d59f3ef9f74e495bb4e3c2f533ab579d8 (patch)
tree08defc6379f07b723f99c16e6079ce12b288ff6d /sys/dev/pci
parentd54efd4d3171c22ce8a5f33215687869ca79f231 (diff)
downloadsrc-f77ad99d59f3ef9f74e495bb4e3c2f533ab579d8.tar.gz
src-f77ad99d59f3ef9f74e495bb4e3c2f533ab579d8.zip
ooops. I disabled pci_enable_io_modes not pci_do_powerstate in the last
commit. That was in error. Noticed by: sos
Notes
Notes: svn path=/head/; revision=128318
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 7cbb5fccd4d7..f7b7450d27c3 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -168,18 +168,18 @@ uint32_t pci_numdevs = 0;
/* sysctl vars */
SYSCTL_NODE(_hw, OID_AUTO, pci, CTLFLAG_RD, 0, "PCI bus tuning parameters");
-static int pci_enable_io_modes = 0;
+static int pci_enable_io_modes = 1;
TUNABLE_INT("hw.pci.enable_io_modes", (int *)&pci_enable_io_modes);
SYSCTL_INT(_hw_pci, OID_AUTO, enable_io_modes, CTLFLAG_RW,
- &pci_enable_io_modes, 0,
+ &pci_enable_io_modes, 1,
"Enable I/O and memory bits in the config register. Some BIOSes do not\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.");
-static int pci_do_powerstate = 1;
+static int pci_do_powerstate = 0;
TUNABLE_INT("hw.pci.do_powerstate", (int *)&pci_do_powerstate);
SYSCTL_INT(_hw_pci, OID_AUTO, do_powerstate, CTLFLAG_RW,
- &pci_do_powerstate, 1,
+ &pci_do_powerstate, 0,
"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.");