summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-06-24 18:30:44 +0000
committerjhb <jhb@FreeBSD.org>2013-06-24 18:30:44 +0000
commit5be6531fa515a5ffc18308909ce829b2082904c7 (patch)
tree701b41b5f9265f942a144f738b2a48e91e15a800 /sys/dev/pci
parentfd69e3f2df65d87b78e41ad2275b6ca79421c5c7 (diff)
downloadFreeBSD-src-5be6531fa515a5ffc18308909ce829b2082904c7.zip
FreeBSD-src-5be6531fa515a5ffc18308909ce829b2082904c7.tar.gz
Disable hw.pci.realloc_bars by default. It wasn't needed for the original
tester of this fix, and realloc_bars breaks some other cases as a small BAR that is reallocated can end up grabbing space needed by a much larger BAR in the existing window of a PCI-PCI bridge. MFC after: 3 days
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 2851ab7..bea162b 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -280,7 +280,7 @@ 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_realloc_bars = 1;
+static int pci_do_realloc_bars = 0;
TUNABLE_INT("hw.pci.realloc_bars", &pci_do_realloc_bars);
SYSCTL_INT(_hw_pci, OID_AUTO, realloc_bars, CTLFLAG_RW,
&pci_do_realloc_bars, 0,
OpenPOWER on IntegriCloud